How to add update system

It will be within the app by Chrome Custom Tab.
But it can be customized and/or replaced with Download and Web components (if you have a direct download link) or Web Viewer (if you have no direct download link)

It is similar to the idea of the Deep Host

Edit by Mod: If promoting YouTube Videos, then make sure they are in English.

1 Like

Where will i be required to keep new version of app? (Other than Playstore)
In firebase?

You can upload app/apk to any website which provides an link to your app.
I recommend using Kodular Store if you have no Developer Account on PlayStore.

Thanks for this, I have been looking for it. Please you show me how the structure will look in my firebase database.

I have gotten it, this is what I did

3 Likes

I will change the value from 1.0 to 2.0 once i update the app

How did you get “Call firebase_database .get value
tag
value if tag not there” ???

I wrote the tag and value manually in my database

Please guide me how to create?

Use this above block in your app, then go to your database and create Tag and a value, the tag can be any name but let the value be the same with your app version name, eg 1.0,. Like this

1 Like

I am getting “firebase error: permission denied” on home screen while testing if app updates or not

Maybe you have set firebase rules to locked mode.Try changing it to test mode.

1 Like

In your database, goto rules and change read and write false to true.

1 Like

The operation > cannot accept the arguments: , [empty-string], [1.4C.1 Eagle]

Show your blocks and firebase structure.

2020-04-20_170657 2020-04-20_170720

do i need to set authentication as well in Firebase?

The error tells us two things:
1.You are trying to use update system in Companion which does not make sense as you are comparing your app’s version with Companion’s version.
2.You are not getting value from firebase.Maybe something wrong in configuration.

I suggest you to read Kodular Docs first:
https://docs.kodular.io

Your firebase structure is wrong, also you are calling tag value which is not in your firebase database. see above posts and make corrections.

1 Like

First write the value like this, "“1.4"”
Secondly remove that ‘C’ after the 1.4 because u are using number to get greater than, not words. Hope you understand