Closed athlona64 closed 4 years ago
+1 This sent an OTP to my device then stopped working for that Android phone. However it still allows me to send an OTP to another iPhone multiple times.
Hi @athlona64
firebase_auth: ^0.16.1
using official example, sms code is sent on Samsung device
@TahaTesser...
I'm using: firebase_auth: ^0.16.1 firebase_core: ^0.4.5
and I am observing the same issues.
@TahaTesser this ticket shouldn't be marked as blocked... you've not given anyone an opportunity to respond to you!
@ISimplifyComplexity it's waiting for response label
@TahaTesser I've just responded to you confirming that I'm using the version you suggested and that it's not working. Therefore I do not think that this is blocked awaiting a response anymore.
Could be duplicate https://github.com/FirebaseExtended/flutterfire/issues/2769 working in my case, no issues
@TahaTesser I almost get the feeling that it's caching the login credentials but I don't seem to be able to uncache them. Even when dealing cache and app settings and uninstalling the app.
There are a number of tickets that keeping arising on this and similar issues but many of them just get closed off.
For now I'm going to just write my own Auth server. Send my own SMS using Twilio because this is just too flakey.
Same problem here, everything works perfectly on both platforms except for OTP -> code working just fine on Android (simulator + real phone), however just crashes on IOS (simulator + real phone) - not even able to catch that exception.
0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23e3cd4c +[NSException raise:format:] + 188
3 Runner 0x0000000107eb6a41 -[FIRPhoneAuthProvider verifyPhoneNumber:UIDelegate:completion:] + 193
4 Runner 0x0000000107fbbc60 -[FLTFirebaseAuthPlugin handleMethodCall:result:] + 17488
5 Flutter 0x0000000108b019df __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104
6 Flutter 0x0000000108a90622 _ZNK7flutter21PlatformMessageRouter21HandlePlat<…>
❯ flutter doctor -v [✓] Flutter (Channel unknown, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-CA) • Flutter version 1.17.3 at /Users/stacky/.asdf/installs/flutter/1.17.3 • Framework revision b041144f83 (13 days ago), 2020-06-04 09:26:11 -0700 • Engine revision ee76268252 • Dart version 2.8.4 [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1
I can send an OTP from Android to IOS and it worked buy I can't send it to the same android. It just goes to verified and the current user is null.
On Wed, 17 Jun 2020, 14:45 Juliano Lazzarotto, notifications@github.com wrote:
Same problem here, everything works perfectly on both platforms except for OTP -> code working just fine on Android (simulator + real phone), however just crashes on IOS (simulator + real phone) - not even able to catch that exception.
( 0 CoreFoundation 0x00007fff23e3cf0e exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48 2 CoreFoundation 0x00007fff23e3cd4c +[NSException raise:format:] + 188 3 Runner 0x0000000107eb6a41 -[FIRPhoneAuthProvider verifyPhoneNumber:UIDelegate:completion:] + 193 4 Runner 0x0000000107fbbc60 -[FLTFirebaseAuthPlugin handleMethodCall:result:] + 17488 5 Flutter 0x0000000108b019df 45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104 6 Flutter 0x0000000108a90622 _ZNK7flutter21PlatformMessageRouter21HandlePlat<…>
❯ flutter doctor -v [✓] Flutter (Channel unknown, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-CA) • Flutter version 1.17.3 at /Users/stacky/.asdf/installs/flutter/1.17.3 • Framework revision b041144f83 (13 days ago), 2020-06-04 09:26:11 -0700 • Engine revision ee76268252 • Dart version 2.8.4 [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/flutterfire/issues/2766#issuecomment-645383046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6XBOLWQW5GDDIDCPIC2WTRXDCHPANCNFSM4N7MKLUQ .
issue is not resolve i don't know why in flutter not work but website still working
Hi all - please upgrade to the latest version, this has been reworked & tested. See https://firebase.flutter.dev/docs/auth/phone for more information.
Describe the bug a phone number authentication not send sms to desination. this behavior is happen in some phone number on some device. i'm not sure why firebase is block phone number on device i try change device but use same phone number is sent and i use different phone number with old phone is sent same.
To Reproduce Steps to reproduce the behavior:
Expected behavior
codeSent is not call in some phone number on some device
Additional context
Flutter doctor Run
flutter doctor
and paste the output below:Pubspec.yaml