ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
51 stars 50 forks source link

[Bug]: Apple crash report #129

Open CesarRN opened 1 week ago

CesarRN commented 1 week ago

Description

Apple reviewed my fluter app and report a bug.

Minimal Reproduction

Only open the app. I don´t have more info.

Exception or Error

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   flutter_web_auth_2                     0x1055850f4 closure #1 in SwiftFlutterWebAuth2Plugin.handle(_:result:) + 1312
1   flutter_web_auth_2                     0x10558559c thunk for @escaping @callee_guaranteed (@in_guaranteed URL?, @guaranteed Error?) -> () + 192
2   AuthenticationServices                 0x21d49f554 -[ASWebAuthenticationSession _cancelWithError:] + 40
3   AuthenticationServices                 0x21d49f3d8 -[ASWebAuthenticationSession _startDryRun:] + 644
4   flutter_web_auth_2                     0x105586c0c specialized SwiftFlutterWebAuth2Plugin.handle(_:result:) + 3048
5   flutter_web_auth_2                     0x10558514c @objc SwiftFlutterWebAuth2Plugin.handle(_:result:) + 84
6   Flutter                                0x105e4191c 0x105860000 + 6166812
7   Flutter                                0x1058a3a44 0x105860000 + 277060
8   libdispatch.dylib                      0x1ac45d13c _dispatch_call_block_and_release + 32
9   libdispatch.dylib                      0x1ac45edd4 _dispatch_client_callout + 20
10  libdispatch.dylib                      0x1ac46d5a4 _dispatch_main_queue_drain + 988
11  libdispatch.dylib                      0x1ac46d1b8 _dispatch_main_queue_callback_4CF + 44
12  CoreFoundation                         0x1a458b710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13  CoreFoundation                         0x1a4588914 __CFRunLoopRun + 1996
14  CoreFoundation                         0x1a4587cd8 CFRunLoopRunSpecific + 608
15  GraphicsServices                       0x1e8fd51a8 GSEventRunModal + 164
16  UIKitCore                              0x1a6bc1ae8 -[UIApplication _run] + 888
17  UIKitCore                              0x1a6c75d98 UIApplicationMain + 340
18  Home Komfort                           0x102e708dc 0x102e68000 + 35036
19  dyld                                   0x1c7d5f154 start + 2356

Expected Behaviour

No crash ...

Screenshots

No response

Additional context

No response

Device

iPad13,16

OS

iPhone OS 17.6.1 (21G93)

Browser

Safari

Flutter version

flutter: 3.16.0

flutter_web_auth_2 version

3.2.1

Checklist

ThexXTURBOXx commented 1 week ago

No idea what to do about that. Also, the stack trace does not really give any context clues on the location of the failure or anything else. Someone else with proper Apple experience shall take a look