We are using the Intercom React Native Plugin in our Expo project. We integrate Intercom using the @intercom/intercom-react-native plugin.
Below are our project dependency versions:
-
"expo": "~54.0.20" -
"react-native": "0.81.5" -
"@intercom/intercom-react-native": "^9.6.1"
We are facing an issue where it is not possible to disable push notifications once a device push token has been registered.
The SDK provides the method:
Intercom.sendTokenToIntercom(token: string)
to register a device token. However:
-
Even if we pass an invalid or random string to this method, the user continues to receive push notifications.
-
There is no available SDK method to remove or unregister a previously registered push token.
We also verified this behavior using the Intercom REST API:
-
Updating the contact via the
PUT /contacts/{id}endpoint does not override theenabled_push_messagingfield. -
Explicitly setting
enabled_push_messagingtofalseornullhas no effect.
Based on our testing, once a device token is registered with Intercom in a React Native (Expo) app, push notifications cannot be programmatically disabled using either the SDK or the REST API.
We would like clarification on the following:
-
Is there a supported way to unregister a device token?
-
Can push notifications be programmatically disabled for a specific user?
-
What is the recommended approach to fully opt a user out of push notifications after token registration?