I implemented push notifications on my app a couple of months ago. My problem is we had to change the firebase cert on AWS and now there are a lot of push notification failures. We are due to rollout an update on Monday.

I know in the following cases:

* App deletes Instance ID
* App is restored on a new device
* User uninstalls/reinstall the app
* User clears app data

`FirebaseInstanceIdService` gets fired and in turn `onTokenRefresh()` gets called. My question is however, if the user receives an update to their application, is that service also fired, is an update the equivalent to `app is restored on a new device`?

This will solve the push failures if so as I register the token with AWS on receipt,

Any info would be great