iOS MessagingSDK crash | Community
Skip to main content

iOS MessagingSDK crash

  • August 4, 2023
  • 1 reply
  • 0 views

Szymon

The app crashes randomly in the first 1 second of running the app. 

We use ZendeskSDKMessaging v 2.13.0

I was able to catch it with the debugger once. Here's the screenshot:

On the app start we do only 2 things:

in AppDelegate in didFinishLaunchingWithOptions we call:

        Zendesk.initialize(withChannelKey: channelKey, messagingFactory: DefaultMessagingFactory()) { _ in }

and in didRegisterForRemoteNotificationsWithDeviceToken we call:

        PushNotifications.updatePushNotificationToken(deviceToken)

 

Any ideas on how to prevent this crash would be helpful. 

 

1 reply

Hi Szymon,
 
Are you encountering this issue in our sample app?