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