Answered

[React Native - iOS] Push notification BadDeviceToken

  • 30 March 2024
  • 1 reply
  • 39 views

Badge

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).

icon

Best answer by mateusz.leszkiewicz 2 April 2024, 14:09

View original

1 reply

Userlevel 2
Badge +3

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.

Reply