2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[auth] don't send timeout to native if ios - only on android

This commit is contained in:
Salakar 2017-10-02 09:46:34 +01:00
parent c9b49d4b7a
commit 904468271d

View File

@ -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