FirebaseUI Auth library: Google sign in fails with: W/AuthMethodPicker: Firebase login unsuccessful

时光总嘲笑我的痴心妄想 提交于 2019-12-04 14:52:23
Peter

Just found the cause of this issue: my app used an unexpected (wrong) debug.keystore for signing of the debug APK... after pointing to the correct debug.keystore within my build everything works as expected!

(Answer found thank to this thread: Android Studio - debug keystore)

P.s. Thanks to the Google/Firebase team for delivering the UI Auth solution: this is a great improvement!

For anyone getting this on a release build. Make sure you have a correct SHA1 fingerprint in your Firebase project settings.

Note that debug and release keystores have different fingerprints.

Here's how you get the correct fingerprint: https://developers.google.com/android/guides/client-auth

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