Many of kivy/kivyMD projects are not available on Play Store for various reasons and thus making it difficult for developers to push updates. Even those are on Play Store, find it difficult to remind users to update their application. We believe that maintenance of software plays key role in bringing trust for it.
Copy folder kivyappupdater
to root directory of your project where your main.py
located.
Keep this block of code whenever or wherever you want to check-for-updates
from kivyappupdater import AppUpdater
updater = AppUpdater.Updater()
updater.update_source = "GITHUB/<user-name>/<repo-name>" # Can also be "PLAYSTORE" or "AMAZON"
updater.check_for_update()
You need to upload a file named update.json
in your github releases.
Visit Wiki for a detailed guide on format of json.
In your buildozer.spec
file, do the following:
# (list) Permissions
android.permissions = INTERNET, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, INSTALL_PACKAGES, REQUEST_INSTALL_PACKAGES
# (int) Minimum API your APK will support.
android.minapi = 26
TODO
at documentation levelThis project is currently in its beta stage. Further more there are large amount of custom ROMs in the market which are many times problematic for implementation of certain API. Please visit Issues section to get informed on reported issues or register a new issue.
Added feature in this project? Why not open a pull request.