Loginactivty With Firebase & Facebook Authentication Not Responding After 3th Relaunch
Everytime at the 3th relaunch, my app gets stuck on a dark screen. I have no clue why, I have checked out the Facebook and Firebase docs, followed examples (github). Has anyone exp
Solution 1:
Possibly this is an issue with the background Firebase Crash process calling the Facebook SDK in a way that the SDK didn't expect. You can guard that with a check for whether Firebase has initialised properly:
@Override
public void onCreate() {
super.onCreate();
if (!FirebaseApp.getApps(this).isEmpty()) {
FacebookSdk.sdkInitialize(getApplicationContext());
}
}
Try that, and see if it stop the freeze occurring.
Solution 2:
I have the same problem from firebase analytics version 9.0.2, I think it's a bug.
And I found this issue is on the analytics version 9.0.2, and I try to revert version to 9.0.0, it will be fine and no black screen.
But you are the auth lib 9.0.0, so I think it's different...
My solution like this:
compile'com.google.firebase:firebase-analytics:9.0.0'
Post a Comment for "Loginactivty With Firebase & Facebook Authentication Not Responding After 3th Relaunch"