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

didRegisterForRemoteNotificationsWithDeviceToken called twice with Intercom iOS SDK

  • March 21, 2024
  • 2 replies
  • 278 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.

2 replies

  • Author
  • New Participant
  • March 26, 2024

Reproducible on latest Intercom iOS SDK version 16.6.1

 

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • Answer
  • March 31, 2024

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.