mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(firebase-x): add setLanguageCode method for auth (#3548)
Co-authored-by: david <david@192.168.1.36>
This commit is contained in:
parent
b2e82bea62
commit
5d1b5d5fda
@ -526,13 +526,18 @@ export class FirebaseX extends IonicNativePlugin {
|
|||||||
* code {string} - verification code. Will only be present if instantVerification is true. Always undefined on iOS.
|
* code {string} - verification code. Will only be present if instantVerification is true. Always undefined on iOS.
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
callbackOrder: 'reverse'
|
callbackOrder: 'reverse',
|
||||||
})
|
})
|
||||||
verifyPhoneNumber(
|
verifyPhoneNumber(phoneNumber: string, timeOutDuration: number, fakeVerificationCode?: string): Promise<any> {
|
||||||
phoneNumber: string,
|
return;
|
||||||
timeOutDuration: number,
|
}
|
||||||
fakeVerificationCode?: string
|
|
||||||
): Promise<any> {
|
/**
|
||||||
|
* Switch current authentification system language, for example, the phone sms code.
|
||||||
|
* @param lang - language to change, ex: 'fr' for french
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
setLanguageCode(lang: string): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user