What is the best way to test the app update experience for users?

I want to make sure that particular functions run only once after a new version is installed. Any good way to test this?

As localStorage persist after an update, here is a suggested flow:

  • store the current version in localStorage
  • read the manifest to get the current version
  • compare current version to localStorage value (checking if localStorage is != null so it’s a new install)
  • perform operations on version change (like showing a changelog)

BTW we have this guide: Choosing your App's Client-Side Storage Technology · Overwolf

Thanks.