mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
fix(firebase-x): add fakeVerificationCode param to verifyPhoneNumber (#3451)
- also fix misspelled timeOutDuration required param
This commit is contained in:
parent
46bbf633e4
commit
191c7a044d
@ -493,7 +493,7 @@ export class FirebaseX extends IonicNativePlugin {
|
||||
* @param {function} success - callback function to pass {object} credentials to as an argument
|
||||
* @param {function} error - callback function which will be passed a {string} error message as an argument
|
||||
* @param {string} phoneNumber - phone number to verify
|
||||
* @param {integer} timeOutDuration - (optional) time to wait in seconds before timing out
|
||||
* @param {integer} timeOutDuration - time to wait in seconds before timing out
|
||||
* @param {string} fakeVerificationCode - (optional) to test instant verification on Android ,specify a fake verification code to return for whitelisted phone numbers.
|
||||
*
|
||||
* The success callback will be passed a credential object with the following properties:
|
||||
@ -506,7 +506,8 @@ export class FirebaseX extends IonicNativePlugin {
|
||||
success: (value: string | object) => void,
|
||||
error: (err: string) => void,
|
||||
phoneNumber: string,
|
||||
timeoutDuration = 0
|
||||
timeOutDuration: number,
|
||||
fakeVerificationCode?: string
|
||||
): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user