FirebasePnvStatusCodes

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.

Plain common code: on Android it is the SDK object, whose messages getMessage repeats on the other platforms.

Properties

Link copied to clipboard
const val ACTIVITY_CONTEXT_REQUIRED: Int = 55509

The API needs an Activity context.

Link copied to clipboard
const val CARRIER_NOT_SUPPORTED: Int = 55501

The carrier of the SIM does not support Phone Number Verification.

Link copied to clipboard
const val CREDENTIAL_MANAGER_ERROR: Int = 55506

The Android Credential Manager failed unexpectedly.

Link copied to clipboard
const val INTEGRITY_CHECK_FAILED: Int = 55503

The integrity check failed.

Link copied to clipboard

The Credential Manager's response, or a token, is not a valid digital credential (or JWT).

Link copied to clipboard
const val INVALID_TEST_NUMBER_ID: Int = 55507

A test number ID of FirebasePhoneNumberVerification.enableTestSession is empty, expired or duplicated.

Link copied to clipboard
const val PREFLIGHT_CHECK_FAILED: Int = 55504

The server could not mint the digital credentials request.

Link copied to clipboard
const val UNSUPPORTED_OPERATION: Int = 55505

The API, with these parameters, is not supported at this time.

Functions

Link copied to clipboard
fun getMessage(errorCode: Int): String

The Android SDK's description of errorCode, one of this object's codes; any other code is an unexpected error.