How often must I register push

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.