dcindia / KivyAppUpdater

Updater service for Android apps built using Kivy/KivyMD
Apache License 2.0
5 stars 2 forks source link

Introduction

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.

How we help you?

Steps to Follow

Step 1:

Copy folder kivyappupdater to root directory of your project where your main.py located.

Step 2:

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()

Step 3: (For Github only)

You need to upload a file named update.json in your github releases.

Visit Wiki for a detailed guide on format of json.

Step 4:

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

We always need more [Future Plans]

Issues will be there

This 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.

We specially thanks to