If you find any errors, typos or have general feedback, select the text and click CTRL+ALT+ENTER.

Introduction

Appery.io has an automatic app update feature. This means you can update apps that users already installed on the device without going through an app store. The automatic update is performed from the Export menu (when enabled).

The auto update feature is optional for every project and is enabled by default.

Automatic update is available for the following app versions:

  • JQM: library version 2.3 and higher.
  • AngularJS Bootstrap: library version 1.0.
  • AngularJS Ionic: library version 1.0.

All AngularJS apps support automatic update. If you’d like to add the automatic update feature to your old JQM project, you should switch your Libraries version to 2.3 in App Settings> External resources.

For automatic update to be available in an app you need to have this feature enabled and your end user will need to install the app for the first time either from an app store or directly on the device. Learn how to build a binary file for your app.

Using automatic update

Make a change to your app. Some changes that you can make:

  • Update pages by adding or removing UI components
  • Add new REST API services
  • Make changes to navigation
  • Make changes to app logic (mapping, custom JavaScript)

Once you are done with the updates, click Export > Auto update:

Upon clicking the “Auto update” button, you are offered to confirm publishing the app update:Warning

At this point the platform will start publishing the changes you made. When all the changes are published, the next time your end user runs the app, the changes will be downloaded and applied to the app.

When the end user launches an app and update is available, two things are going to happen:

  1. The update is downloaded to the device
    • It’s important the device has a strong wireless or WiFi connection. With weak connection, it will take longer to download the update.
  2. The update is installed

All the devices that have installed the app will get the update if an update is published. There is no option today to push an update only to particular devices.

Disabling auto update

To disable automatic update go to: Project > App settings > Android binary/iOS binary and uncheck the “Enable autoupdate” check box.

Restrictions

There are some restrictions in using the automatic update that you should be aware of:

  • Only web resources: HTML/JS/CSS can be updated.
  • Cordova core (installed by default) and 3rd party Cordova (installed by the developer) plug-ins can’t be updated with this feature.

The following resources require publishing of a new app through the app store:

  • Launch icons.
  • Splash screens.
  • Push notification configuration.
  • New app permissions (iOS keys or Android permissions).
  • Any other native code.