Last active
May 10, 2019 19:15
-
-
Save MehulKK/72fb68d00a82501834a9c77633e69b1f to your computer and use it in GitHub Desktop.
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
// Obtain the phone number from the result | |
fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent) { | |
super.onActivityResult(requestCode, resultCode, data) | |
if (requestCode == RESOLVE_HINT) | |
{ | |
if (resultCode == RESULT_OK) | |
{ | |
val credential = data.getParcelableExtra(Credential.EXTRA_KEY) | |
// credential.getId(); <-- will need to process phone number string | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment