You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your crash log is really hard to read, but this sounds like a duplicate of #9. SwiftMessages is known to crash on jailbroken devices and given that I don't have a jailbroken device to test and nobody has attempted to solve this on their own, I don't have a fix. There is a workaround discussed in #9.
Hey,
I recently saw a crash on Crashlytics, which happens when we call configureTheme method. The logs are pasted below.
The OS is 9.3.3 and the device is iPhone6
`Crashed: com.apple.main-thread
0 SwiftMessages 0x100f08ff4 _TFO13SwiftMessages9IconStyle5imagefT5themeOS_5Theme_CSo7UIImage + 1864
1 SwiftMessages 0x100ef24c4 TFC13SwiftMessages11MessageView14configureThemefTOS_5Theme9iconStyleOS_9IconStyle_T + 28
2 0x1004815a4 specialized static PPNotificationsController.showInAppCustomNotificationWith(title : String, body : String, userInfo : [AnyHashable : Any]?, onTapCompletion : ([AnyHashable : Any]) -> ()?) -> () (PPNotificationsController.swift:223)
3 0x100481fcc specialized static PPNotificationsController.showLocalNotificationWith(title : String, body : String, badge : Int?, userInfo : [AnyHashable : Any], identifier : String?, application : UIApplication, onTapCompletion : ([AnyHashable : Any]) -> ()?) -> () (PPNotificationsController.swift)
4 0x100482b30 specialized PPNotificationsController.didReceiveRemoteNotification(with : [AnyHashable : Any], principalController : PPPrincipalController, application : UIApplication, onTapCompletion : ([AnyHashable : Any]) -> ()?) -> () (PPNotificationsController.swift)
5 0x100455d5c specialized AppDelegate.application(UIApplication, didReceiveRemoteNotification : [AnyHashable : Any], fetchCompletionHandler : (UIBackgroundFetchResult) -> ()) -> () (AppDelegate.swift)
6 0x1004504a4 @objc AppDelegate.application(UIApplication, didReceiveRemoteNotification : [AnyHashable : Any], fetchCompletionHandler : (UIBackgroundFetchResult) -> ()) -> () (AppDelegate.swift)
7 UIKit 0x1893ee1a8 -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] + 2676
8 UIKit 0x1893dbf84 -[UIApplication workspace:didReceiveActions:] + 136
9 FrontBoardServices 0x1859777ac FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 36
10 FrontBoardServices 0x185977618 -[FBSSerialQueue _performNext] + 168
11 FrontBoardServices 0x1859779c8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
12 CoreFoundation 0x183f8d09c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
13 CoreFoundation 0x183f8cb30 __CFRunLoopDoSources0 + 540
14 CoreFoundation 0x183f8a830 __CFRunLoopRun + 724
15 CoreFoundation 0x183eb4c50 CFRunLoopRunSpecific + 384
16 GraphicsServices 0x18579c088 GSEventRunModal + 180
17 UIKit 0x18919e088 UIApplicationMain + 204
18 App 0x1000beff0 main (AppDelegate.swift:15)
19 libdyld.dylib 0x183a528b8 start + 4`
This is how i'm using SwiftMessages
static func showInAppCustomNotificationWith(title: String, body: String, userInfo: [AnyHashable: Any]?, onTapCompletion: (([AnyHashable: Any]) -> Void)? = nil) {
Any ideas as to why this might be happening?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: