Question
Commonwealth Bank
AU
Last activity: 22 Feb 2019 1:41 EST
Check if the user has installed the latest version of the mobile APP.
We have an application in production both on the Google and Apple play stores. We are looking at implementing a new version of the application with push notifications enabled. The business wants to make sure all customers have this feature enabled. The only way for this is to force the users to download the latest version of the app from their respective stores.
What we would like to know is if anyone has done something similar or have any idea as to how we could implement this.
Options we have looked at:
Using the app version that is auto-incremented when we build the app (not the HC build version) - There are no JS functions in launchpad that gives you access to the App version.
Thanks and Regards
Sid
There's another version which can be accessed from JS running on a client. It's a version of Mobile Client used by Pega to build your mobile app. Pega release patches quite often so you different version will be used every few weeks. Most likely push enabled app users different version than the one on production. See window.launchbox.Container.version property https://community.pega.com/sites/default/files/mobileclient/7411/api/client_api/container_object_container.html
Another option would be to block access to the old client app on a server side based on the version sent in a user agent. For old clients information that update is required could be displayed in a portal harness.