Android Question Problem with FirebaseAuth

musaso

Member
Licensed User
When using FirebaseAuth
B4X:
auth.Initialize ("Auth")
does not raise the event
B4X:
Sub Auth_SignedIn (User As FirebaseUser)
The log
B4X:
onAuthStateChanged: com.google.firebase.auth.internal.zzl@1ad41a62
and nothing more
 

Brandsum

Well-Known Member
Licensed User

Attachments

musaso

Member
Licensed User
Thanks for answering Erel.
App log when launching and pressing button sign in with google.


B4X:
Registo conectado a: 2aea54989805
--------- beginning of crash
--------- beginning of system
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzl@ff83853
SignInWithGoogle called
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
SignInWithGoogle.ResultArrived
ResultArrived Error: Status{statusCode=unknown status code: 12500, resolution=null}, null
 

musaso

Member
Licensed User
I have always used FirebaseAuthEx in my Apps without problems but since updating to AndroidX I have problems with Firebase, not with authentication (Anonymous works fine) but not FirebaseRealtimeDatabase and Firestore events.
I have observed that using FirebaseAuth worked fine one day, but it has inexplicably stopped working.
onAuthStateChanged: com.google.firebase.auth.internal.zzl@ff83853 and I can't authenticate
 

Brandsum

Well-Known Member
Licensed User
Delete all the users from the authentication tab of firebase console and then try again.
 

Brandsum

Well-Known Member
Licensed User
Check the SHA1 key again because a few days ago I saw that different SHA1 is showing for the same keystore file in different machines. So I had to put all SHA1 to Google Signin option.
 

musaso

Member
Licensed User
Created a new Firebase project, with a new package name,
created a new b4a project but I have the same result:

onAuthStateChanged: com.google.firebase.auth.internal.zzl@2e0c81b4

I've been with this for several days, I'm desperate.
 
Top