Does Expo notification token identify uniquely user or device?

Hi,
I’m developping an Expo app and I’m confused at how to design my backend database when it comes to push notification. Reading documentation, I understand that when a user grants permission for push notification, Expo will generate a token we can store in the user record in database for further usage. Now suppose the user authenticates in another device. Will it be necessary to ask again for notification permission and get another token from Expo. I’d like to know in order to see how to design database, whether I should reserve only one field or multiple records for Expo tokens associated with a unique user. Thanks in advance.

Hi @sunviwo! The token will be different for different devices (actually, it will also be different if the users uninstall/reinstall your app on the same device)

Thanks a bundle @charliecruzan

1 Like