Correct way to handle multiple users logging and using the same Expo Push Token

Please provide the following:

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

Hello all,

Hope you’re well, just had a quick question about expo notifications implementation.

Tokens are given per device, and I believe one cannot create a new token on demand. For these reasons I’m running into an issue where if user B logs into a phone used by user A, they start to receive notifications meant for user A. How’s this situation supposed to be handled ? Do I have to remove the expo token of user A from our sever when they log out ? That seems to be the most reasonable way to go about it but just wanted to make sure.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.