firebase_phone_number_verification 0.0.1
firebase_phone_number_verification: ^0.0.1 copied to clipboard
A Flutter plugin for Firebase Phone Number Verification (PNV) on Android. Verify the device's phone number directly from the carrier with one tap, without SMS OTPs.
Changelog #
0.0.1 #
Initial release.
getVerificationSupportInfo()/isSupported()to pre-check whether the device and its SIM(s) support Firebase Phone Number Verification.getVerifiedPhoneNumber()to run the end-to-end verification flow and obtain the verified phone number plus a signed Firebase PNV token.enableTestSession()to develop and test with a test number ID from the Firebase console, without a billing account or a real SIM.- Typed error handling via
FirebasePnvExceptionandFirebasePnvErrorCode, mirroring the nativeFirebasePnvStatusCodes. - Android only (Firebase PNV is currently available on Android only).