Canceling the update process

You can call the cancelUpdate() method to cancel the update process:

appUpdater.cancelUpdate();

This method cancels any pending downloads, deleting any incomplete downloaded files, and restarts the periodical check timer.

The method does nothing if the updater object is initializing.

// Ethnio survey code removed