Kodular x Github

I’ve been trying to integrate Kodular with GitHub for days. Basically, I want to make the APK file created in Kodular update via GitHub. What do I need? My app version is 1.1. When I release version 1.2, it will send a message saying a new version is available and will update. Can anyone help me?

If I’m on the right topic, just let me know which one is correct and I’ll adjust it.

Hi Bruno,
Welcome to the Kodular community!

Have you tried using the REST API?

Edit:
Since it seemed interesting to me, I tried doing it too.


replace psf/black with your username/repo
image

Thanks for the reply. I hadn’t seen this option in the GitHub API. From what I’d seen, it only had the JSON validation option. It checked the latest version and informed me about the download. Basically, I wanted this: to put a new version of the app on GitHub, have a message appear informing me that there’s a new version, download and install the new version, it’s that simple. I’ll try this API method; if it works, I’ll come back and let you know. Thanks again.

If I get you clear

I think you need to add some logic to compare the current version (The app you’re using right now) with some data from database, eg you’re using version 1.0 in your database there’s 1.1 version, so you need to compare two versions of the app, from the running apk and your version from database, then if the value are different then show a pop-up of the latest version is available.

I don’t know if I get your point :index_pointing_up:

1 Like

Here’s an example of how you could do it
(you must have only one APK in the assets).

GithubAppUpdate.aia (51.2 KB)

1 Like

That’s right, but the problem is that I’m starting to use kodular now, it must have been a week at most, I even got some suggestions, but it’s not going at all, I tried to look here because it’s something so obvious for an application, I thought there was already some tutorial or documentation in the community

I thought the idea was great, but I looked for documentation on how to use this githubappupdate and couldn’t find it.

What do you mean?

I’m not sure whether to make a guide… it seems like a really interesting topic .

He needs in app update is available hosted on git, then compare with the current version if they are still using latest version or old version

In short he need in app update available hosted on GitHub

Give me some minutes, maybe I can help with something little :hugs::hugs:

Thank you very much for the inspiration!

Try to see if I managed to explain myself clearly.