getVerifiedPhoneNumber
Verifies the phone number of a SIM in the device: asks the user for consent through the Android Credential Manager, gets the number from the carrier, and returns it with its Firebase PNV token, which your backend verifies. A successful verification is billed.
context is an android.content.Context that is, or wraps, an android.app.Activity; otherwise the task fails with a FirebasePhoneNumberVerificationException with FirebasePnvStatusCodes.ACTIVITY_CONTEXT_REQUIRED. On the platforms without Phone Number Verification the task fails with UnsupportedOperationException.
Fails with UnsupportedOperationException: Phone Number Verification has no Apple SDK.
Verifies the phone number of a SIM in the device: asks the user for consent through the Android Credential Manager, gets the number from the carrier, and returns it with its Firebase PNV token, which your backend verifies. A successful verification is billed.
context is an android.content.Context that is, or wraps, an android.app.Activity; otherwise the task fails with a FirebasePhoneNumberVerificationException with FirebasePnvStatusCodes.ACTIVITY_CONTEXT_REQUIRED. On the platforms without Phone Number Verification the task fails with UnsupportedOperationException.
Fails with UnsupportedOperationException: Phone Number Verification has no web SDK.
Fails with UnsupportedOperationException: Phone Number Verification has no web SDK.