Note that there are some explanatory texts on larger screens.

plurals
  1. POSafely achieving three and four way device synchronisation without [[UIDevice] uniqueIdentifier]?
    primarykey
    data
    text
    <p>Switching to custom generated device UUID's is turning out to truly be a nightmare! I am hoping someone has come across this before and might know a way to deal with it.</p> <p>Assume a user has an application with a data set of 500,000 (small) records, its not feasible to simply copy the entire db of a device and merge them. A user has this application installed on an:</p> <ol> <li>iPhone,</li> <li>MacBook</li> <li>Android tablet.</li> </ol> <p>When connected to the same physical network, each device can see each other and can initiate a synchronisation. To achieve three way data synchronisation (that does not depend on a central server or an internet connection).</p> <ol> <li>Each device keeps a list of timestamped changes.</li> <li>Each device knows the last time it synchronised with each of the other two devices.</li> <li>When a device sees another device, it sends through all known changes since the last time they spoke to that device.</li> <li>If a new device is discovered, no problem just send through all data ever entered.</li> </ol> <p>The problem comes along if a user backs up their iphone or ipad, and restores it onto another iphone or ipad. Under this scenario we are ending up with a user that has two devices on the local network with the same UUID. Updates end up (randomly) going to one or the other identically identified devices.</p> <p>I know we can continue to use the device unique identifier for now, but I am worried whats going to happen once its gone!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload