I'm trying to create an application that will be able to run a js function at an exact time on different mobile devices - like down to the millisecond.
Since I can't be sure that all devices have the exact same time, I have to get it from another place.
I'm using Firebase and have tried using the serverTimeOffset to estimate the server time - but it is too inaccurate. Is there a way to get the exact time? It seems like calling a server is not the solution.
I have full access to the wifi network that the users will be connected to, and will also be able to e.g. set up a ble transmitter.
Does anyone have any insights or have worked with a similar project?