cordova-plugin-uninstallapk

Cordova plugin Uninstall APK ======================

Usage no npm install needed!

<script type="module">
  import cordovaPluginUninstallapk from 'https://cdn.skypack.dev/cordova-plugin-uninstallapk';
</script>

README

Cordova plugin Uninstall APK

Platforms

  • Android

Installation

Install with cordova plugin or plugman. The javascript module will be injected automatically.

cordova plugin add cordova-plugin-uninstallapk
plugman install --platform android --project platforms/android --plugin ..\cordova-plugin-uninstallapk

Example

UninstallApk.Uninstall('com.example.myapp').then(function (res) {
    console.log(res);
}).catch(function(error){
   console.log(error);
});

UninstallApk.AppIsInstalled('com.example.myapp').then(function (res) {
     console.log(res);
}).catch(function(error){
    console.log(error);
});
           

Screenshots

Uninstall AppIsInstalled
ScreenShot ScreenShot

License

Apache 2.0