JavaScript

{dialog.object}.instantUpdateRefresh Method

Syntax

{dialog.object}.instantUpdateRefresh();

Description

Checks for, downloads, and installs a new update for a PhoneGap application with Instant Update.

Discussion

This method allows you to check for a new Instant Update version of an application without having to exit the App on the device and then re-launch it.

The method is only available in a PhoneGap application that was build with the Instant Update feature enabled.

Normally, after you publish an Instant Update to a PhoneGap application, users will not get the new version until they re-launch the application on their devices.

Using this method, you can get a new version of the application without have to exit and re-launch the application.

Example

{dialog.object}.instantUpdateRefresh();

Limitations

PhoneGap Applications with Instant Update Only

See Also