opengapps / opengapps-app-support

issuetracker and translations for the Open GApps App
http://opengapps.org/app
Creative Commons Attribution Share Alike 4.0 International
60 stars 57 forks source link

Download scheduler #107

Closed osm0sis closed 1 year ago

osm0sis commented 7 years ago

It would be great to be able to schedule a download of the latest GApps (on WiFi only, and would wait for WiFi if on mobile data). Being able to choose day of the week, then weekly, every 2 weeks, 3 weeks etc. would probably be the most sane. And first time setup randomizes the day of the week to ensure you don't get slammed if people don't bother to set it up any further.

This would allow people to schedule and automate their updates to match the release schedule of their ROM (eg. Lineage builds are weekly but day of week varies by device).

codekidX commented 7 years ago

@osm0sis this is a bit tough to implement given our current code base. We are working on moving to a different way to get latest packages and files after which this feature is totally possible, easy to implement and will be efficient too. I'll keep you posted on the updates. Thanks for the suggestion.

Revan335 commented 6 years ago

Interesting Idea. Any actually Status?

tukusejssirs commented 5 years ago

I created a bash script for Termux that downloads the latest OpenGApps version, reboots to recovery, installs it and finally reboots to system. I’ve just updated it to reflect the recent changes (moving the files to SourceForge). I don’t say that the script is perfect, but it works.

The files are located here. I am lazy to copy (and update) the installation guide here; I wrote it in this comment (the script there is outdated, but the installation process is unchanged).

Anyway, I miss this feature too. I’d like it to download the new version as soon as it is available (be it using WiFi or mobile data, I don’t care), show a notification that there’s a new version that can be installed (with an option to install it right away), and a scheduled time when it would automatically install (I choose 2 am). But I am not a good coder and never programmed anything for Android (In Kotlin or Java). I prefer scripting (Bash, Javascript, perl). ;)

Any help is welcome. :)

osm0sis commented 1 year ago

App is long dead. Closing.