Package-level declarations
Types
Firebase Phone Number Verification, mirroring com.google.firebase.pnv.FirebasePhoneNumberVerification from the Firebase Android SDK (com.google.firebase:firebase-pnv): gets the phone number of a SIM in the device directly from its carrier, with a token signed by Firebase for your backend to verify, instead of sending an SMS code.
Firebase Phone Number Verification, mirroring com.google.firebase.pnv.FirebasePhoneNumberVerification from the Firebase Android SDK (com.google.firebase:firebase-pnv): gets the phone number of a SIM in the device directly from its carrier, with a token signed by Firebase for your backend to verify, instead of sending an SMS code.
Firebase Phone Number Verification, mirroring com.google.firebase.pnv.FirebasePhoneNumberVerification from the Firebase Android SDK (com.google.firebase:firebase-pnv): gets the phone number of a SIM in the device directly from its carrier, with a token signed by Firebase for your backend to verify, instead of sending an SMS code.
Firebase Phone Number Verification, mirroring com.google.firebase.pnv.FirebasePhoneNumberVerification from the Firebase Android SDK (com.google.firebase:firebase-pnv): gets the phone number of a SIM in the device directly from its carrier, with a token signed by Firebase for your backend to verify, instead of sending an SMS code.
Firebase Phone Number Verification, mirroring com.google.firebase.pnv.FirebasePhoneNumberVerification from the Firebase Android SDK (com.google.firebase:firebase-pnv): gets the phone number of a SIM in the device directly from its carrier, with a token signed by Firebase for your backend to verify, instead of sending an SMS code.
The exception that Phone Number Verification fails with; the Android SDK's FirebasePhoneNumberVerificationException.
The exception that Phone Number Verification fails with; the Android SDK's FirebasePhoneNumberVerificationException.
The exception that Phone Number Verification fails with. Its message is the one given, as on Android: the JS FirebaseException would append the cause's message to it.
The status codes of Phone Number Verification, the FirebasePhoneNumberVerificationException.errorCode of its failures; mirroring com.google.firebase.pnv.FirebasePnvStatusCodes. On Android the object also extends Google Play services' CommonStatusCodes, whose codes a failure can carry too.
Whether a SIM of the device supports Phone Number Verification, mirroring com.google.firebase.pnv.VerificationSupportResult; from FirebasePhoneNumberVerification.getVerificationSupportInfo. Two results are equal when their SIM slot, carrier and reason are.
The reasons of a VerificationSupportResult (VerificationSupportResult.getReason), mirroring the Android SDK's IntDef annotation com.google.firebase.pnv.VerificationSupportStatus.
A verified phone number with its Firebase PNV token, mirroring com.google.firebase.pnv.VerifiedPhoneNumberTokenResult; from FirebasePhoneNumberVerification.getVerifiedPhoneNumber and FirebasePhoneNumberVerification.exchangeCredentialResponseForPhoneNumber. Send getToken to your backend, which verifies its signature: this class only reads the claims of the token, without verifying it.
A verified phone number with its Firebase PNV token, mirroring com.google.firebase.pnv.VerifiedPhoneNumberTokenResult; from FirebasePhoneNumberVerification.getVerifiedPhoneNumber and FirebasePhoneNumberVerification.exchangeCredentialResponseForPhoneNumber. Send getToken to your backend, which verifies its signature: this class only reads the claims of the token, without verifying it.
A verified phone number with its Firebase PNV token, mirroring com.google.firebase.pnv.VerifiedPhoneNumberTokenResult; from FirebasePhoneNumberVerification.getVerifiedPhoneNumber and FirebasePhoneNumberVerification.exchangeCredentialResponseForPhoneNumber. Send getToken to your backend, which verifies its signature: this class only reads the claims of the token, without verifying it.
Functions
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.
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.
Fails with UnsupportedOperationException: Phone Number Verification has no web SDK.
Fails with UnsupportedOperationException: Phone Number Verification has no web SDK.