verifyPhoneNumber method
Future<String>
verifyPhoneNumber(
- String phoneNumber,
- ApplicationVerifier<
ApplicationVerifierJsImpl> applicationVerifier
Starts a phone number authentication flow by sending a verification code
to the given phoneNumber
in E.164 format (e.g. +16505550101).
Returns an ID that can be passed to PhoneAuthProvider.credential
to identify this flow.
For abuse prevention, this method also requires an ApplicationVerifier.
Implementation
Future<String> verifyPhoneNumber(
String phoneNumber, ApplicationVerifier applicationVerifier) =>
handleThenable(jsObject.verifyPhoneNumber(
phoneNumber, applicationVerifier.jsObject));