6.1.0
If I make successive calls to signInWithPhoneNumber
or linkWithPhoneNumber
using the same phone number, it silently fails. The PhoneVerificationFailedEvent
event does not fire, neither does the PhoneCodeSentEvent
.
If I wait some amount of time between calls, it succeeds. 30 second interval fails, 60 second interval succeeds.
iOS always succeeds without any interval.
The PhoneCodeSentEvent
event fires or the PhoneVerificationFailedEvent
event fires.
https://github.com/robingenz/capacitor-firebase-authentication-demo
signInWithPhoneNumber
method successively to resend the verification text repeatedlyThis seems to be potentially a bug in the underlying firebase android sdk. I assume the verifyPhoneNumber
implementation is pretty straightforward to bubble up events. I can try to submit a bug there instead if that's the case.
$ npx cap doctor
π Capacitor Doctor π
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/cli: 6.1.1
@capacitor/core: 6.1.1
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
[success] iOS looking great! π
[success] Android looking great! π
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too