@becky-vairkko wrote:
I just switched from cordova to capacitor and now when my app is asleep for a while when I try to go back to it I crashes. I was thinking it was related to push notifications so I turned that off but I’m still getting the crashes.
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x1bf184164 __exceptionPreprocess + 228 (NSException.m:199) 1 libobjc.A.dylib 0x1bee98c1c objc_exception_throw + 60 (objc-exception.mm:565) 2 CoreFoundation 0x1bf0827e0 -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:144) 3 CoreFoundation 0x1bf18885c ___forwarding___ + 1328 (NSForwarding.m:3520) 4 CoreFoundation 0x1bf18ab60 _CF_forwarding_prep_0 + 96 5 Cordova 0x100860b54 -[CDVCommandDelegateImpl isValidCallbackId:] + 64 (CDVCommandDelegateImpl.m:92) 6 Cordova 0x100860c30 -[CDVCommandDelegateImpl sendPluginResult:callbackId:] + 104 (CDVCommandDelegateImpl.m:105) 7 CoreFoundation 0x1bf0dc1e0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:787) 8 CoreFoundation 0x1bf0dc230 ___CFXRegistrationPost1_block_invoke + 68 (CFNotificationCenter.c:175) 9 CoreFoundation 0x1bf0db520 _CFXRegistrationPost1 + 396 (CFNotificationCenter.c:198) 10 CoreFoundation 0x1bf0db1d4 ___CFXNotificationPost_block_invoke + 92 (CFNotificationCenter.c:1371) 11 CoreFoundation 0x1bf054678 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1420 (CFXNotificationRegistrarOld.m:168) 12 CoreFoundation 0x1bf0dab14 _CFXNotificationPost + 1260 (CFNotificationCenter.c:1359) 13 Foundation 0x1bf441f2c -[NSNotificationCenter postNotificationName:object:userInfo:] + 64 (NSNotification.m:576) 14 CordovaPlugins 0x1008898a4 CDVReachabilityCallback + 116 (CDVReachability.m:103) 15 SystemConfiguration 0x1bf3f5460 reachPerformAndUnlock + 436 (SCNetworkReachability.c:1421) 16 CoreFoundation 0x1bf0ff860 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1922) 17 CoreFoundation 0x1bf0ff7b4 __CFRunLoopDoSource0 + 84 (CFRunLoop.c:1956) 18 CoreFoundation 0x1bf0fef04 __CFRunLoopDoSources0 + 196 (CFRunLoop.c:1992) 19 CoreFoundation 0x1bf0f9ca4 __CFRunLoopRun + 796 (CFRunLoop.c:2882) 20 CoreFoundation 0x1bf0f9660 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192) 21 GraphicsServices 0x1c950a604 GSEventRunModal + 164 (GSEvent.c:2246) 22 UIKitCore 0x1c32ce15c UIApplicationMain + 1944 (UIApplication.m:4820) 23 App 0x1006793e8 main + 96 (AppDelegate.swift:5) 24 libdyld.dylib 0x1bef751ec start + 4
Posts: 1
Participants: 1