Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How often must I register push

$
0
0

Completely new to Ionic. Have my app running well so far and am currently testing push on my iOS device.

My question is - every time I quit and reopen the app do I have to register the device for a new push token? Currently when a user logs in I register the device and get a token which is saved in my db.

My testing went as follows:
1. Login, get token
2. Sent push with app open - received.
3. Sent push with app in background - received.
4. Sent push with app closed - received.
5. Re-opened app and sent push - not received.

From this I would assume every time the app runs I should check if a user is logged in and generate and update the token, but I want to be sure I'm not doing this unnecessarily as this is all very new to me.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>