简体   繁体   English

Firebase Auth 在 Android 电话上不起作用 - 弹出窗口闪烁

[英]Firebase Auth not working on Android Phone - popup flashes

In my app I've developer Firebase Auth.在我的应用程序中,我开发了 Firebase Auth。

In my emulator (Android Studio), it works fine in all devices, so I've passed on to every phone I could find, and the weirdest thing happens.在我的模拟器(Android Studio)中,它在所有设备上都可以正常工作,所以我已经传递到我能找到的每一部手机上,最奇怪的事情发生了。 Every provider I use ( Google, Microsofta and Apple) the popup flashes and disappears right away.我使用的每个提供商(Google、Microsofta 和 Apple)弹出窗口都会立即闪烁并消失。

Is there any permission I need to add to my app to get the popups to stay open?我需要向我的应用程序添加任何权限以使弹出窗口保持打开状态吗?

I've already have android:uses:internet in the AndroidManifest.我已经在 AndroidManifest 中有 android:uses:internet。

You probably have not added the release sha-1 key to firebase.您可能尚未将发布 sha-1 密钥添加到 firebase。 Since it seems to work when using android studio.因为它在使用 android studio 时似乎有效。 When you first added the app to firebase, it automatically added the debug sha-1 key.当您第一次将应用程序添加到 firebase 时,它会自动添加调试 sha-1 密钥。 The release sha-1 key has to be added manually.必须手动添加释放 sha-1 密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM