Android Question Firebase auth Facebook - Detecting when user quits out of sign in process

Yuri Cinesi

Member
Licensed User
I can't figure out how to detect if the user has completed the login or if they quit out. There is no event similar to firebaseauth's auth_SignedIn, so I'm at a loss at the moment.

Simply intercepting the touch event for the "X" button and overlaying something over the facebook login is not possible due to how it works (likely for security reasons).

It seems to fire an intent once the facebook login is completed/canceled, could that be used to check?

EDIT: The activity is paused and resumed for the facebook login - one easy fix is checking wheter or not firebaseauth's currentuser is initialized or not once it's resumed. It'd still be nice to have a more elegant solution, but this also works.
 
Last edited:
Top