I did contact the Apple Developper Technical Support and they answer me that "No, there are no APIs that will tell you that an app has been updated."
However, I really need to wake up my app when the user update it to last version.
Because my push notification system has changed in the last version and the user must be registered to the new platform in order to continue to receive notifications.
To register the user, the app should launch.
Does anyone know how I could do that ?
Some of my apps are in Objective C, others are in Swift.
Thanks for any help.
You won't be able to launch your app automatically after an update. This would be a horrible user experience.
This is what you could do instead:
1. Release notes
Write at the top of the release notes in the AppStore, that the users should start the app to continue receiving notifications.
2. One last notification for the old versions
If it's possible four you, you could send a notification from the old system that tells the users to update and launch the app.
You can use background fetch in order to quick execute a small part of code and show an notification into user screen. But in this case you need your own server where you store current app version you have released.
this is a wonder tutorial how you can use background fetch.
https://www.raywenderlich.com/143128/background-modes-tutorial-getting-started
but remember you can not push your application into foreground in iOS.