Firebase realtime database wont load variable

im trying to make a game launcher with an auto update feature, what I am trying to do is create a variable on the firebase titled “version” and check if its the same as the current one, however im having trouble getting the variable from it. When I click the button it doesn’t change the output variable nor write anything in the state variable for errors


image

I’m pretty sure you are not supposed to include the database url inside the action

It’s easier with Firebase Remote Config.

but it asks for the path, i assumed the url would be it

how can that be done?

Firestore Database is the successor to Realtime Database and is much easier to use.
But for your version check Remote Config is the simplest solution.



Timer because the synchronization has a small delay.

http://wiki.compilgames.net/doku.php/gdevelop5/all-features/firebase/rc

1 Like