Google AppInvite

后端 未结 5 601
我在风中等你
我在风中等你 2021-01-20 19:18

Realize Google AppInvite by Google manual - link.

Start Invite Activity and get next in the LogCat:

E/AppInvit         


        
相关标签:
5条回答
  • 2021-01-20 19:31

    I think that it should work automatically, if you have connected your Firebase with your app on Google Play, but you have to download your application from Google Play. I had the same problem and it didn't work in my case, because I had the version of an application which I installed straight from the computer (debug mode).

    0 讨论(0)
  • 2021-01-20 19:35

    You may need to generate your APK in release mode, not debug mode.

    0 讨论(0)
  • 2021-01-20 19:50

    Have you double-checked your OAuth Client ID of your project in Google Developers Console?

    Make sure you correctly put your project's SHA-1 and package name. I suggests you created two client IDs: one with SHA-1 for debug key, and another for release key.

    You can also safely remove google-services.json file and apply plugin: 'com.google.gms.google-services' code in your app-level build.gradle file since "it is just a quickstart helper to generate some basic android-resource files for easier integration of specific Google API features." as described here.

    0 讨论(0)
  • 2021-01-20 19:51

    Did you include the json configuration file?

    0 讨论(0)
  • 2021-01-20 19:54

    In firebase console under Project Settings find "Certificate Fingerprints (SHA-1)" part and from the help icon you will be directed to https://developers.google.com/android/guides/client-auth and enter generated SHA1 keys for both release and debug certificate fingerprints. Then resultCode 3 will gone and you will send the invitation.

    0 讨论(0)
提交回复
热议问题