Android Question Login with Gmail

Nicolás Cieri

Active Member
Licensed User
Hi!, I have a problem.

When I am testing in Debug mode and in Release, the login with Gmail works perfectly.

The problem is when I upload the application to the store, the startup with Gmail no longer works and gives me these error messages:

SignInWithGoogle.ResultArrived
ResultArrived Error: Status{statusCode=DEVELOPER_ERROR, resolution=null}, null



Any idea? Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
Where is the full code used? Should we guess what you are doing and how?
 
Upvote 0

Nicolás Cieri

Active Member
Licensed User
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
 
Upvote 0

Nicolás Cieri

Active Member
Licensed User
Or maybe something related with this message???

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?
 
Upvote 0

Nicolás Cieri

Active Member
Licensed User
For the integration i followd this method...


Is not correct?
 
Upvote 0
Top