Regarding Tiny Database, this tool permanently stores information within the application. I don't know how you would use it to check for updates.
The intention is to check the value of a tag on firebase, which holds the latest version number. The tinydb would hold the value of the installed version number. Compare these two, then act.
You used cloudDB for this instead of firebase.
Yes. The version number can be stored in a variable instead of Tiny.
Exactly. Firebase can be used for verification. You need Realtime Database because it's the fastest. In both cases, we'll only use text. The application will be uploaded via a link.
@TIMAI2 I'm working on your solution (json file and tinydb).
But
1 - How in Firebase storage can I generate the download URL for json file and for my APK?
2 - chronological problem: in my app I need to know json url, so I have to upload the json in Storage to know the json url, but json file should contain the url to download the app, but if I have not the json url, my app will not be completed, so I can not upload it....
How can I solve?
I would suggest that when you have created your new version of your app and the apk for it, that you go to the firebase console and upload the new file to firebase storage. once uploaded you can get the download url from there.
Then go to your realtime database and edit your tag values for the new version code and download url.
Is that it, or were you expecting this all to happen by some sort of magic ?
If there is a new version, you must remember to update the version code in the tinydb.
I have made it.
How can I do it? @TIMAI2 have you suggestions for it?
In my app I decided to use json... But using realtime I will solve the "chronological problem". Thank you for this!
This is integrated in my blocks.
You can use Google Drive instead of Firebase.
This is easier. You copy the sharing link for the app and paste it into the database.
@The_Legend_Of_MTS thank you, this is a good solution!
But I would like to have all in one solution with Firebase...do you know how, step-by-step?
You can upload files in Firebase to the storage location.
From there, upload the application file. Copy its link. When I get back, I'll take a screenshot for you. Or @TIMAI2 will do it.


