1.7 Enabling Force update

This topic provides information on Enabling Force update.

  • This is an optional configuration.
  • When a new version of the application is available on AppStore, user should be notified to upgrade their application. This flag will check the update and display a non-cancellable popup message to the user to update their application.
  • For this to happen, enable this flag and other values as mentioned in the configuration section .Configurations for the IOS application:
  • Set the version for the new update in “Bundle version string (short)” in ZigbankInfo.plist and in marketing version in Watch target->Build Settings. (Watch target setting is only required if Watch target is present for bank in its workspace.

    Note:

    Bundle version string format should be same as that of the AppStore version set on iTunes developer portal. If Bank is uploading AppStore version 1.0 then the bundle version should be 1.0 and so on.
  • So, if live app version is 1.0.1, the new application update can have version greater that 1.0.1 which can be either 2.0 or 1.0.2 or 1.1.0 or 1.1.1 etc. Once this new version is released to Appstore, the application already installed on user’s device will compare the installed version with new updated version.
  • If updated version is available, then below popup will be displayed.

    On clicking the button, user will be redirected to the Appstore page of that application. (Ensure to set correct AppStoreID in the configuration for this redirection)

  • The popup header text and message can be configured in “Localizable.strings” file inside Classes folder in the workspace for below keys:
    Header – APP_UPDATE_HEADER
    Message - APP_UPDATE_TEXT
    Button text- APP_UPDATE_BTN_TEXT
  • This feature will work only after from the time the users install the version which has this logic enabled. Ex: If bank has 1.0 in Appstore for which this flag as false and bank releases 1.1 in Appstore with this flag enabled, then user needs to install the 1.1. application manually. Since 1.0 didn’t have that flag enabled, it will not check for any updates.

    However, every future release made to Appstore will check for any updates and display the force update popup.