[Note that this will not work if you have multiple values, you would need a list and do each value individually]
Basically, it sends the value with “!” on each side to the Firebase. Then, when it comes back as a JSON, we can get the text that is only between the "!"s.
Doing this type of stuff is neat but there is a more efficient manner to do this. As your app begins to expand, you’ll want to maintain efficiency as much as possible to prove the user a nice UX that isn’t laggy.
100 milliseconds doesn’t feel like anything. 250 does
This isn’t going onto the app store or google play, I’m doing this for Hackathon. I wanted something that was similar to how Thunkable Cloud Vars worked because that’s what I was used to. The timer is simply there to check if the player is online or not.
And again, I still don’t really know how objects or JSON work all the way yet.