Enables a test session for SIM-less testing.
Must be called only once per app instance; subsequent calls will reject with
error code pnv/test-session-already-enabled.
Exchanges a Credential Manager response for a verified phone number. Part of the custom verification flow.
Generates a digital credential payload for use with Android Credential Manager. Part of the custom verification flow.
Checks if the device's SIM card(s) support phone number verification.
Initiates the phone number verification flow, including user consent and token generation. A consent dialog will be presented to the user.
Error thrown when a Phone Number Verification operation fails.
Result describing whether a specific SIM slot supports phone number verification.
Result of a successful phone number verification, containing the verified phone number and a JWT token for server-side validation.
Union of all PnvErrorCode string values.
Status indicating why a SIM slot does or does not support phone number verification.
Maps to the native VerificationSupportStatus IntDef constants.
Error codes returned by the Firebase Phone Number Verification SDK.
These map to FirebasePnvStatusCodes constants from the native SDK.
Remarks
Android only. The Firebase Phone Number Verification SDK does not support iOS or Web. Every exported function throws when
Platform.OS !== 'android'.