Skip to main content
Answered

[React Native - iOS] Push notification BadDeviceToken

  • March 30, 2024
  • 3 replies
  • 139 views

Forum|alt.badge.img

Hello, 

I need to integrate Intercom into react-native app. I’m using official wrapper intercom/intercom-react-native. Android works as expected. On iOS I’m always getting `BadDeviceToken` listed as an issue in Intercom panel (website). I tried both ways to send the token to the intercom, first is native code (option 2 from here) and later tried JS option with token coming from @react-native-firebase/messaging `getToken` method.

APN configuration is uploaded to Intercom and same values works properly when sending push messages from Firebase (both their website and java/nodejs SDK).

I’m testing on the simulator (again messages from Firebase and our backend works fine).

Best answer by mateusz.leszkiewicz

Hi UpMenu, It’s Mat from the Support Engineering Team 😀

Can you please reach out to us? It looks like unexpected behaviour.
Our engineers might want look into this issue.

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

3 replies

mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

Hi UpMenu, It’s Mat from the Support Engineering Team 😀

Can you please reach out to us? It looks like unexpected behaviour.
Our engineers might want look into this issue.


  • New Participant
  • 1 reply
  • May 22, 2024

What was the solution to this? I am facing the exact same issue, and it appears to be an issue with the testing workspace specifically


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

Hi Diego Dorado and UpMenu

It looks like this is a known issue that our Engineers are working to fix.
I encourage you to reach out to us via Messenger with this kind of bug in the future, because if you encounter it, it is probable that it needs to be fixed in our codebase.

If you flag this issue to us, we will inform you once it is fixed right away.


Reply


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