You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A corner case that could be problematic arises if a user transfers their data to a new device. If their old device is no longer used, there should not be a problem, but if both devices are used, they may be sharing the same Ensembles peer id.
This may not be a problem for iCloud, because the ubiquity token probably includes the device id, and would force a deleech. But for other backends, it would be good if Ensembles could detect this.
On iOS, the identifierForVendor in UIDevice could probably be tested to see if it has changed.
Note that on the Mac, you have to link with IOKit.
It would be important to not invalidate existing data. The device id could be stored in the event store metadata. If there is no device id present, add the current id, but don't fail.
The text was updated successfully, but these errors were encountered:
A corner case that could be problematic arises if a user transfers their data to a new device. If their old device is no longer used, there should not be a problem, but if both devices are used, they may be sharing the same Ensembles peer id.
This may not be a problem for iCloud, because the ubiquity token probably includes the device id, and would force a deleech. But for other backends, it would be good if Ensembles could detect this.
On iOS, the identifierForVendor in UIDevice could probably be tested to see if it has changed.
On the Mac, you can use the serial number or MAC address. Details here (with link) http://stackoverflow.com/questions/5868567/unique-identifier-of-a-mac
Note that on the Mac, you have to link with IOKit.
It would be important to not invalidate existing data. The device id could be stored in the event store metadata. If there is no device id present, add the current id, but don't fail.
The text was updated successfully, but these errors were encountered: