The strange thing is that it works well, only when I download it from the PlayStore no longer.
B4X:
Sub Globals
Private auth As FirebaseAuth
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
auth.Initialize("auth")
End If
If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser)
End Sub
Sub sGoogleBtn_Click
auth.SignInWithGoogle
End Sub
Sub Auth_SignedIn (User As FirebaseUser)
SetState
End Sub
Sub SetState
SignedIn = Starter.auth.CurrentUser.IsInitialized
If SignedIn Then
........
End If
End Sub
Let Google manage and protect your app signing key (recommended)
Enabled. Upload key: The key you use to sign your first release. Sign every subsequent release with the same key to verify it’s from you. Keep your upload key safe. If it’s ever lost or compromised, contact developer support to replace it.
It has something related? Or is it a totally separate matter?
This library requires B4A v6+. It allows the users to sign in to your app with their Google account (more identity providers will be added in the future). Like all Firebase services it is quite simple to integrate this service in your app. 1. Follow this tutorial and make sure to add the...