iOS SDK setDeviceToken method crash | Community
Skip to main content
Answered

iOS SDK setDeviceToken method crash

  • December 30, 2020
  • 1 reply
  • 202 views

Hello,

At the moment we use 7.1.0 iOS SDK and we've got hundreds of crashes with Intercom.setDeviceToken(:). However we can't reproduce this crash manually.

What could be wrong?

Our method RemoteNotificationsCenter.setDeviceToken(_:) + 101 just pass deviceToken to the Intercom SDK.​

Here is stacktrace:

Screenshot 2020-12-30 at 16.20.52And affected devices:

Screenshot 2020-12-30 at 16.25.43Only once we caught this stacktrace:

crash

Best answer by Eric Fitz

Hey @user557​, this is a known issue which our engineers are investigating.

 

As we work on resolving this, I can recommend a workaround; namely, switching to manually handling push notifications, as outlined in Step 4 of our guide here.

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • January 4, 2021

Hey @user557​, this is a known issue which our engineers are investigating.

 

As we work on resolving this, I can recommend a workaround; namely, switching to manually handling push notifications, as outlined in Step 4 of our guide here.