My app work on Android and iOS mobile.
The main characteristic of it is that the same app gets installed on a TvBox and on a mobile. Once connected using wifi and sockets, the mobile app controls the tvbox app (and gets data from it).
Just to clarify why it does this:
- The app is a sport scoring app for tennis, padel, pong and teqball (
www.referi.io).
- the TvBox is HDMI connected to a TV set and act as a in court scoreboard
- the judge, from his mobile, start the mach (the two apps connect), set the type of match, players names, etc
- each point is sent from the mobile and visualised on the tv
- many more interaction happens between the two apps, like "timeout" if nothing happens for a while.
As you can image, most of my developer problems and bugs are coming from my communication protocol and from the need that every situation (wifi goes off, UI navigation, etc) will not disrupt the connection and the point advance (the match cannot be stopped because of problems: the players won't take it very well
).
Coming to the subject of this post, my LC development most of the time happens on two computers connected with wifi and running the same version of stack: one act as a mobile (client) and one as a tvbox(server).
When I find a problem, I have to save the stack, close LC, copy the stack to the other computer and relaunch both stacks. Very time consuming.
My original question (my error) didn't take in account that LC load the stack in memory. So running from two computers the same stack in a shared HD would only partially shorter my development time (the "revert to saved" solution has to restart the stack, which in my case take sometime) and quite prone to errors.
I know that, generally speaking, syncing is a tough business and, believe me, I have enough problems as of now, without resorting to some some syncing script.
So, I think I will keep going like I am doing now.
Trevix