Waldemar Lima Well-Known Member Licensed User Longtime User May 1, 2019 #1 hello everyone ! I am studying about login with google in firebase, and I came across a counter-time, how do I check if the user clicked off the edge of the login window with Gmail and the login was canceled? screenshot 1 : ' this is whats happens when i click outside the login window with google screenshot 2 : ' in the area represented by green, is the zone where if I click the login is canceled, I consider whether the user has canceled this login (by any method of cancellation)?
hello everyone ! I am studying about login with google in firebase, and I came across a counter-time, how do I check if the user clicked off the edge of the login window with Gmail and the login was canceled? screenshot 1 : ' this is whats happens when i click outside the login window with google screenshot 2 : ' in the area represented by green, is the zone where if I click the login is canceled, I consider whether the user has canceled this login (by any method of cancellation)?
Erel B4X founder Staff member Licensed User Longtime User May 1, 2019 #2 1. Please post logs as text. Not screenshot. 2. You can know that Activity_Resume was and the SignedIn event wasn't raised before it. Though in most cases you should just treat the state as not signed in until the SignedIn event is raised. Upvote 0
1. Please post logs as text. Not screenshot. 2. You can know that Activity_Resume was and the SignedIn event wasn't raised before it. Though in most cases you should just treat the state as not signed in until the SignedIn event is raised.
Waldemar Lima Well-Known Member Licensed User Longtime User May 1, 2019 #3 can i do it ? Code: Sub Activity_Resume If auth.CurrentUser.IsInitialized Then Log("Logged !") Else Log("Close Login ...") End If End Sub Upvote 0
can i do it ? Code: Sub Activity_Resume If auth.CurrentUser.IsInitialized Then Log("Logged !") Else Log("Close Login ...") End If End Sub
Erel B4X founder Staff member Licensed User Longtime User May 2, 2019 #4 I think that it should work. You need to test it. Upvote 0
Waldemar Lima Well-Known Member Licensed User Longtime User May 2, 2019 #5 it works ! thanks @Erel Upvote 0