Firebase App Invite not working in release build APK

牧云@^-^@ 提交于 2019-12-03 20:50:58

You have to update SHA1 fingerprint from firebase console. Instead of using SHA1 of debug.keystore you should use SHA1 fingerprint of your release keystore.

Command line:

  1. keytool -exportcert -alias YOUR-KEY-ALIAS -keystore PATH-TO-YOUR-RELEASE-KEYSTORE/keystore.jks -list -v

  2. Copy and paste new SHA1 fingerprint to firebase console.

  3. Download a new google-services.json and update it in your project.

For those of you who enabled Google Play App Signing, you'll also have to add the SHA-1 key from the "App Signing Certificate" to your Firebase console and use the updated google-services.json in order for the invite to work on apps launched to the Google Play Store.

Steps to locate the SHA-1 key: 1) Go to your Google Play Console 2) Select the targeting app 3) Go to "App signing" under "Release management" 4) The SHA-1 key can be found under "App Signing Certificate"

It took me many hours to resolve the issue and I hope this can help someone who runs into the same issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!