Open pamafe1976 opened 3 weeks ago
Thank you @pamafe1976 for reporting this issue, can you please check if the issue is also happening on the latest stable release of flutter?
Hey @TarekkMA, I'm using the latest stable version of flutter and I'm having the same issue:
Future<void> appleSignIn() async {
final appleProvider = AppleAuthProvider().addScope('email');
await _firebaseAuth.signInWithProvider(appleProvider);
}
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
firebase_core: ^2.32.0
firebase_auth: ^4.20.0
cloud_firestore: ^4.17.2
provider: ^6.1.2
share_plus: ^9.0.0
google_sign_in: ^6.2.1
google_mobile_ads: ^5.1.0
flutter_localizations:
sdk: flutter
intl: any
Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [90833]
Triggered by Thread: 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Runner 0x1028fca4c -[FLTFirebaseAuthPlugin authorizationController:didCompleteWithError:] + 232
1 AuthenticationServices 0x1b86a0e3c __44-[ASAuthorizationController _failWithError:]_block_invoke_2 + 212
2 libsystem_trace.dylib 0x18009dba4 os_activity_apply_f + 84
3 AuthenticationServices 0x1b86a0d4c __44-[ASAuthorizationController _failWithError:]_block_invoke + 100
4 libdispatch.dylib 0x180170104 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x180171978 _dispatch_client_callout + 16
6 libdispatch.dylib 0x1801807c8 _dispatch_main_queue_drain + 1276
7 libdispatch.dylib 0x1801802bc _dispatch_main_queue_callback_4CF + 40
8 CoreFoundation 0x18040e960 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
9 CoreFoundation 0x180409078 __CFRunLoopRun + 1936
10 CoreFoundation 0x1804084d4 CFRunLoopRunSpecific + 572
11 GraphicsServices 0x18ef2aae4 GSEventRunModal + 160
12 UIKitCore 0x1853d0a28 -[UIApplication _run] + 868
13 UIKitCore 0x1853d46b0 UIApplicationMain + 124
14 Runner 0x1027a53d4 main + 64 (AppDelegate.swift:5)
15 dyld_sim 0x102cb9544 start_sim + 20
16 dyld 0x102e9a0e0 start + 2360
I have the same issue as @pamafe1976.
3.14.0-0.1.pre
Crashed: com.apple.main-thread
0 Runner 0x372a90 handleSignInWithApple + 361 (FLTFirebaseAuthPlugin.m:361)
1 Runner 0x372ba0 __78-[FLTFirebaseAuthPlugin authorizationController:didCompleteWithAuthorization:]_block_invoke_2 + 425 (FLTFirebaseAuthPlugin.m:425)
2 libdispatch.dylib 0x63850 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
4 libdispatch.dylib 0x10e28 _dispatch_main_queue_drain + 928
5 libdispatch.dylib 0x10a78 _dispatch_main_queue_callback_4CF$VARIANT$mp + 36
6 CoreFoundation 0x93828 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
7 CoreFoundation 0x774a8 __CFRunLoopRun + 2096
8 CoreFoundation 0x7bb58 CFRunLoopRunSpecific + 584
9 GraphicsServices 0x1984 GSEventRunModal + 160
10 UIKitCore 0x375628 -[UIApplication _run] + 868
11 UIKitCore 0x3752a0 UIApplicationMain + 312
12 Runner 0x2c120 main + 11 (AppDelegate.swift:11)
13 ??? 0x1d66dddf0 (Missing)
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
My app is crashing occasionally in iOS. I'm receiving this report through Crashlytics, and it seems to be purely related to Firebase Auth
Reproducing the issue
I don't have enough information as to reproduce Apparently this is the code calling the Firebase Apple SignIn that crashing:
Firebase Core version
2.31.1
Flutter Version
3.22.0-0.3.pre
Relevant Log Output
No response
Flutter dependencies
Additional context and comments
No response