I’m working on a project that requires me to get Device ID and token (for push notifications)
both are going to be saved on server, Device ID is used for auto login (when user has logged in once and has their device ID recorded on the server already) only while token is kept for future usage by people managing the backend.
Anyhow, I’m looking through expo docs and found these:
Expo.Constants.installationId : An identifier that is unique to this particular device and installation of the Expo client.
Expo.Notifications.getExpoPushTokenAsync(): This token can be provided to the Expo notifications backend to send a push notification.
I just want to know if these are suitable for the above use cases?
Also, is the token returned can be used outside the expo push notification scope? i.e. the one we are planning to build ourselves on our server?
Thanks in advance