Robert Valentino Well-Known Member Licensed User Longtime User Dec 1, 2020 #1 is it possible to wait for and if so what do we wait on? B4X: FirebaseAuth.SignInWithGoogle
DonManfred Expert Licensed User Longtime User Dec 1, 2020 #2 The Activity is resumed after Login. Something like B4X: if auth1.CurrentUser.IsInitialized then end if Upvote 0
The Activity is resumed after Login. Something like B4X: if auth1.CurrentUser.IsInitialized then end if
Robert Valentino Well-Known Member Licensed User Longtime User Dec 1, 2020 #3 Using B4XPages (not that I think that matters) So are you saying I should do something like: B4X: FirebaseAuth.SignInWithGoogle do while FirebaseAuth.CurrentUser.IsInitialized = false then Sleep(25) loop Upvote 0
Using B4XPages (not that I think that matters) So are you saying I should do something like: B4X: FirebaseAuth.SignInWithGoogle do while FirebaseAuth.CurrentUser.IsInitialized = false then Sleep(25) loop
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2020 #4 You can Wait For the SignedIn event. Note that it will not be raised if the user failed to log-in. Upvote 0