Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertanto/restartapp
https://github.com/robertanto/restartapp
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/robertanto/restartapp
- Owner: robertanto
- License: gpl-3.0
- Created: 2017-12-28T22:10:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T07:34:54.000Z (over 5 years ago)
- Last Synced: 2024-11-11T06:05:46.074Z (about 2 months ago)
- Language: Java
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# restartApp plugin #
This Cordova plugin will reboot automatically your __Android__ app or service.## Supported Platforms ##
- __Android__## Usage ##
#### Enable the automatic startup of your app after the boot ####
```typecript
declare let restart: any;
...
restart.restartApp(, () => { /*Success callback*/}, (err) => { /*Error callback*/ });
```
## Installation ##
The plugin can be installed from git repository as follows:
```bash
cordova plugin add https://github.com/antonioroberto1994/restartApp.git
```## Author
**Antonio Roberto** - [Linkedin](https://www.linkedin.com/in/antonio-roberto-1b288b120/)
## License
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](https://github.com/antonioroberto1994/restartApp/blob/master/LICENSE)