vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
298 stars 146 forks source link

Auto Update without the need to tap on "Update" #76

Closed carlo318 closed 5 years ago

carlo318 commented 6 years ago

Hi, nice plugin, it works very well.

Is there an option to let Auto Update be executed immediately, without the need by the user to tap on "Update" button? I would like to let my app autoupdate by itself while nobody is using it. Thankyou. Carlo

vaenow commented 6 years ago

Hi @carlo318

There is no autoupdate by itself right now, but don't worry, you can modify the code by yourself blow: https://github.com/vaenow/cordova-plugin-app-update/blob/ecceb6af116b3492e4a82e0a08c56473da5ef8fe/src/android/UpdateManager.java#L152

After that, it's very thank you to make a pull request to help other guys. 🙂

carlo318 commented 6 years ago

Perfect @vaenow , it works! I will make a pull request asap.

Thankyou!

vaenow commented 6 years ago

👍 cool