Created
June 26, 2019 10:26
-
-
Save e-lin/f7f52a816d687a45566cfbaf173c0b68 to your computer and use it in GitHub Desktop.
App login with FirebaseUI - handle sign in results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent) { | |
super.onActivityResult(requestCode, resultCode, data) | |
if (requestCode == RC_SIGN_IN) { | |
val response = IdpResponse.fromResultIntent(data) | |
if (resultCode == Activity.RESULT_OK) { | |
// handle login | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment