Managing active ExponentPushTokens with app re-installs

Please provide the following:

  1. SDK Version: 46.0.0
  2. Platforms(Android/iOS/web/all): Android/iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hi, I am using expo-notifications together with https://exp.host/--/api/v2/push/ and wondering what is the best way to manage ExponentPushTokens. I’ve followed the documentation to listen to the receipts and try at best to disable inactive tokens/devices and stop notifications. But I am finding out that (I think) with application updates it’s not as straightforward (maybe with re-installs is the same)… It seem to go through a new install and there is no way to cleanly connect to the previous installation and now I end up with two active tokens for a user. Then after attempting to notify both active tokens, it returns 400 Bad Request… Is there something I am missing? I think the main issue is not being able to truly detect if this is the same device being used (since IDs don’t get preserved across reinstalls)…