I hope this helps you, what I did was a method to update your applications.
As some components of kodular I do not understand their function well, look for alternatives, that is, look for similar components but easy to use.
I use three types of extensions to facilitate updates and the extensions are
For the FirebaseStorage extension it asks for two things which would be the api key and the Bucket
For the Bucket you just have to copy this part of the Firebase in Storage.
Don’t include the part that says gs://
The API is found in your firebase project settings in the general part and in Web API Key
1- The first thing I do is delete the last update downloaded only if there is one (It is to avoid storing so much file for the user)
2- Then I look for the download URL only with the name of the file, for that I use the extension FirebaseStorage (As you only need the name of the file)
3- Once the URL is obtained, I use InstallAPK to download the apk file.
4- And finally I use the InstallAPK again to start the installation of the file.
Here I leave a small video of its operation.
Finally here I leave the links of the extensions that I used.