didRegisterForRemoteNotificationsWithDeviceToken called twice with Intercom iOS SDK | Community
Skip to main content
Answered

didRegisterForRemoteNotificationsWithDeviceToken called twice with Intercom iOS SDK

  • Mar 21, 2024 6:00 PM UTC
  • 2 replies
  • 470 views

Please, do not call UIApplication.shared.registerForRemoteNotifications() inside Intercom iOS SDK.
This causes application(_:didRegisterForRemoteNotificationsWithDeviceToken:) to be called twice if you call registerForRemoteNotifications when you need in you app.

I can’t disable this. Also IntercomAutoIntegratePushNotifications: NO don’t disable registerForRemoteNotifications() call.

Best answer by Jacob Cox

Hey there @e.vandyshev !

This topic is best discussed with our Support Team. I’m going to send you in their direction. They will reach out to you via the Email that you currently have on file to discuss this with you further. Be on the lookout for their response.

View original

2 replies

  • Author
  • New Participant
  • Mar 26, 2024 9:14 AM UTC

Reproducible on latest Intercom iOS SDK version 16.6.1

 

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • Answer
  • Mar 31, 2024 8:24 PM UTC

Hey there @e.vandyshev !

This topic is best discussed with our Support Team. I’m going to send you in their direction. They will reach out to you via the Email that you currently have on file to discuss this with you further. Be on the lookout for their response.