[React Native - iOS] Push notification BadDeviceToken

  • 30 March 2024
  • 3 replies



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 2 April 2024, 14:09

View original

3 replies

Userlevel 3
Badge +4

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.

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

Userlevel 3
Badge +4

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.