Skip to main content
Answered

react-native iOS Push notification BadDeviceToken

  • March 29, 2024
  • 1 reply
  • 119 views

Forum|alt.badge.img

Hello, 

I’m trying to integrate Intercom push notifications into my react-native app. I’m using official wrapper in version 6.8.1 (most up to date one). I did all of the steps from iOS setup section and configured Push Notifications on intercom website - https://app.intercom.com/a/apps/myapp/settings/ios. I’m sure that uploaded .p8 key, bundle id, key id and apple team id are correct because I uploaded the same version to firebase console and I’m able to send notifications from there and using their HTTP API. On intercom I’m all the time getting BadDeviceToken. On Android everything works properly. Am I missing something on iOS?

 

I tried both ways of sending token to Intercom - javascript version and Obj-C version.

For js version I’m using `@react-native-firebase/messaging` and call `await messaging().getToken()`. Using this token I’m getting BadDeviceToken
 

Best answer by aykut.aydin

Hey @UpMenu 

 

Thank you so much for sharing all the details above.

 

Looks like, this will need further investigation on our end. I see that you have already reached out to our Support Team in a conversation. You will hear back from our Support Engineers soon in that conversation.

View original
Did this topic help you find an answer to your question?

1 reply

aykut.aydin
Employee
Forum|alt.badge.img+4
  • Customer Support Engineer
  • 104 replies
  • Answer
  • April 3, 2024

Hey @UpMenu 

 

Thank you so much for sharing all the details above.

 

Looks like, this will need further investigation on our end. I see that you have already reached out to our Support Team in a conversation. You will hear back from our Support Engineers soon in that conversation.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings