Version

Configuring Automatic Updates

SharePlus allows your company to set up automatic updates. OTA (Over-the-air) mechanism is normally used to distribute updates to all the devices that connect to your application. The VersionHandle feature allows you to configure automatic updates settings in the Configuration File.

<key>VersionHandle</key>
<dict>
    <key>Enabled</key>
    <true/>
    <key>Settings</key>
    <dict>
        <key>DeferBlockToTimeSpan</key>
        <string>10/19/2013</string>
        <key>ImmediateBlock</key>
        <false/>
        <key>LastVersion</key>
        <string>3.9.8</string>
        <key>URL</key>
        <string>http://<companysite>/download.html</string>
    </dict>
</dict>
  • DeferBlockToTimeSpan – Limit date for users to update the app before it becomes blocked. Date format expected is mm/dd/yyyy, e.g., 10/19/2017.

  • ImmediateBlock – When a new version of the app becomes available, the application is blocked until updated.

  • LastVersion – Last version number of the app.

  • URL – The URL where the updated app version is hosted for downloading; download.html file that was previously set up in the Over-the-air configuration process.

Note
NOTE

Note: The DeferBlockToTimeSpan and ImmediateBlock settings are optional and mutually exclusive.

Automatic Update Process

Step in the Process

Description

The application is launched

-

Attempt to fetch a Remote Configuraiton File

The ConfigurationURL specified in the application’s local Configuration File is used.

Comparison of versions

If the LastVersion number on both Configuration Files (Remote and local) is different, the user is prompted to update the application.

The user accepts the update

If the user accepts, the application is sent to background and Safari opens the website previously configured with OTA configuration.

The website opens

The website that was previously configured through OTA configuration opens. The user must tap

Auomatic Update Messages

Message Type

Image

Non-Blocking Message

NewVersion_iOS.png

Blocking Message

NewVersionBlock_iOS

Deferred Message

NewVersionBlockDate_iOS