[auth] don't send timeout to native if ios - only on android
This commit is contained in:
parent
c9b49d4b7a
commit
904468271d
@ -66,11 +66,20 @@ export default class PhoneAuthListener {
|
|||||||
this._subscribeToEvents();
|
this._subscribeToEvents();
|
||||||
|
|
||||||
// start verification flow natively
|
// start verification flow natively
|
||||||
this._auth._native.verifyPhoneNumber(
|
if (isAndroid) {
|
||||||
phoneNumber,
|
this._auth._native.verifyPhoneNumber(
|
||||||
this._phoneAuthRequestKey,
|
phoneNumber,
|
||||||
this._timeout,
|
this._phoneAuthRequestKey,
|
||||||
);
|
this._timeout,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isIOS) {
|
||||||
|
this._auth._native.verifyPhoneNumber(
|
||||||
|
phoneNumber,
|
||||||
|
this._phoneAuthRequestKey,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user