How connect server app to client


if I play the server application then the numbers in the client application also play the numbers spin and if I stop on the server then the client also stops

Hello,
Try using Firebase Store Value and When Firebase Data Changed .
Have both phone connected to a good internet connection.

On the sever side, when you press start, changed the tag Status to true in Firebase and when paused, set the tag Status to false and also store the current time of the timer that was running in Firebase.

On the Client side, When Firebase data changed, if tag = Status, Do: if value = True Do: Start timer else, Stop timer, get the value for the current time it stopped and display it.

They will have a slightly delay but shouldn’t be that much.

1 Like

ok thanks i try…

Okay, let us know if it works :+1:t5: