Question

React Native SDK frequently deleting devices

  • 3 December 2023
  • 1 reply
  • 44 views

We’ve implemented the React Native SDK via Expo.

 

The SDK seems to be adding the device correctly, but we’ve noticed it is frequently deleting and then re-adding the device again.

 

Below is the activity from one user. When looking at the remove activity it’s not apparent why it has been removed.

Any ideas on why it’s removing the device so frequently?


1 reply

Userlevel 4

Hi @felsey

 

There could be 2 reasons why this is happening:

  1. When someone logs out of your app, the SDKs clearIdentify method would disassociate the device token from the user in the current session as outlined here in this section of our help documentation
  2. If a push device token is invalidated, we also automatically remove them from your workspace as outlined here.

Hopefully, this helps to shed some light on what you’re seeing here!

 

Reply