Skip to content

gostrafx/cordova-plugin-uninstallapk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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