I am creating nativescript angular app with push notifications. I cannot find information what heppens with push token when:
- App is restariting in dev mode i see that token is same - is it similar scenario when user closes and opens installed prod app on their phone?
- What happens with token when user uninstalls an app - is that token gone?
- What happens when user installs an app again - does he gets new push token or token is stored in the phone and is assigned to this device +app forever?
Reason why i am asking is because i do not know when to put token to DB and when to update and should i update at all.
Thanks