-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The iOS app crashes when calling QB.subscriptions.create after logging out the user and re-logging with the same user. When logging out, these actions are called in the same order as defined below,
- Remove subscription
- Dispose WebRTC
- Disconnect Chat
- QB Log out
And here is the crash log,
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x1a40108d0 objc_msgSend + 208
1 My App 0x105cc1e9c -[QBPushSubscriptionsModule dataFromHexString:] + 180
2 My App 0x105cc14e8 -[QBPushSubscriptionsModule create:resolver:rejecter:] + 144
3 CoreFoundation 0x1abccf714 __invoking___ + 148
4 CoreFoundation 0x1abccf1ac -[NSInvocation invoke] + 428
5 CoreFoundation 0x1abccefd4 -[NSInvocation invokeWithTarget:] + 64
6 My App 0x105985568 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1808
7 My App 0x105989498 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 1688
8 My App 0x105988c34 facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 128
9 My App 0x105988ba8 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 28
10 libdispatch.dylib 0x1b3c986a8 _dispatch_call_block_and_release + 32
11 libdispatch.dylib 0x1b3c9a300 _dispatch_client_callout + 20
12 libdispatch.dylib 0x1b3ca8998 _dispatch_main_queue_drain + 984
13 libdispatch.dylib 0x1b3ca85b0 _dispatch_main_queue_callback_4CF + 44
14 CoreFoundation 0x1abcd4f9c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
15 CoreFoundation 0x1abcd1ca8 __CFRunLoopRun + 1996
16 CoreFoundation 0x1abcd13f8 CFRunLoopRunSpecific + 608
17 GraphicsServices 0x1ef25f4f8 GSEventRunModal + 164
18 UIKitCore 0x1ae0f78a0 -[UIApplication _run] + 888
19 UIKitCore 0x1ae0f6edc UIApplicationMain + 340
20 My App 0x104e71060 main + 100
21 dyld 0x1cea26dcc start + 2240
Also, restart the app after the crash works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels