App Update


This plugin does self-update for android


ionic cordova plugin add cordova-plugin-app-updatenpm install @ionic-native/app-update
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/app-update

Supported Platforms

  • Android


You should first host an XML file on your server with the following data in it:

    <name>APK Name</name>

Then use the following code:

import { AppUpdate } from '@ionic-native/app-update/ngx';

constructor(private appUpdate: AppUpdate) {

   const updateUrl = '';
   this.appUpdate.checkAppUpdate(updateUrl).then(() => { console.log('Update available') });


The plugin will compare the app version and update it automatically if the API has a newer version to install.