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.

I apologize for the delay in responding; I still haven’t been able to resolve the application update issue. I wanted to understand how this GitHub App Update application works. I looked on YouTube and couldn’t find anything. I always appreciate your help.

Basically, it’s like Google Play; it updates through a repository and has to compare the version. From what I’ve researched, it has something to do with JSON. I managed to do the update, but I remember using a different repository, not GitHub. If I’m not mistaken, GitHub has access limitations, which could be a problem in the long run. Thank you very much for your help.

Hi, thank you so much RaYzZz ; I’m glad I could help in some way by giving this inspiration. I haven’t tested your beautiful project yet, I’ll try to replicate it, and when it works, I’ll come back here giving feedback. Thank you very much to everyone who was very helpful and assisted in the best way.

A special thank you to RaYzZz who took the time to research, test, and invest a great deal of time in helping us solve this problem.

1 Like

Hi dear,
It was a pleasure helping you, and thank you again for the inspiration.

If you have any doubts about the project I created, feel free to write under that post so that if someone has the same problem, they can find the answer there.

Have a great day!