https://github.com/gostrafx/cordova-plugin-uninstallapk
Cordova plugin Uninstall APK Android
https://github.com/gostrafx/cordova-plugin-uninstallapk
apk cordova cordova-android cordova-android-plugin cordova-plugin uninstall uninstallapk
Last synced: about 1 month ago
JSON representation
Cordova plugin Uninstall APK Android
- Host: GitHub
- URL: https://github.com/gostrafx/cordova-plugin-uninstallapk
- Owner: gostrafx
- License: apache-2.0
- Created: 2020-02-09T19:36:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-09T22:18:02.000Z (over 6 years ago)
- Last Synced: 2026-05-03T12:46:59.632Z (about 1 month ago)
- Topics: apk, cordova, cordova-android, cordova-android-plugin, cordova-plugin, uninstall, uninstallapk
- Language: Java
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
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
-------
```js
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][Uninstall] | ![ScreenShot][AppIsInstalled] |
[Uninstall]: screenshots/Screenshot_1.jpg
[AppIsInstalled]: screenshots/Screenshot_2.jpg
License
-------
Apache 2.0