Using Google Sign-In for Firebase SDK on Android by Allen Drennan

  • Автор темы emailx45
  • 53
  • Обновлено
  • 02, May 2020
  • #4

Скрытая информация :: Авторизуйтесь для просмотра »
/google_play_services_version"/>

  • Add an activity to the AndroidManifest.template.xml:


1<activity android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />


  • Disable the existing libraries google-play-*.jars, cloud-messaging.dex.jar, google-analytics-v2.dex.jar and android-support-v4.dex.jar in your Delphi Project under Android, Libraries.
  • Add all the libraries under \DelphiGoogleSignIn\Libraries\Android to your Delphi project.
    google-helper.jar
    appcompat-v7.jar
    firebase-*.jar (3 of them)
    play-services-*.jar (5 of them)
    support-*.jar (4 of them)
  • At this point you only need your “web client” id and the TgoGoogleSDK class as demonstrated in the Example GoogleSignIn project to SignIn to Google

    .



 

emailx45


Рег
05 May, 2008

Тем
607

Постов
1273

Баллов
7343
Тем
49554
Комментарии
57426
Опыт
552966

Интересно