What would be the most logical way to go about launching an activity when an app is opened for the first time after an update. I understand that a sharedprefs would be the easiest way for this, but sharedprefs are persistent across application updates so it wouldn’t seem that that option would work. Any ideas?
Share
Make the shared pref store the version number of the app: if the version is different, update it and then launch your Activity.
EDIT: this is what I do in my what’s new check. It loads up the app info, fetches the version number and if it has changed it pops open the Activity.