Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement