lkellar / trips

A SwiftUI Packing List App
https://lkellar.org/trips/
MIT License
4 stars 0 forks source link

Installing app on multiple devices duplicates #62

Closed lkellar closed 4 years ago

lkellar commented 4 years ago

If one installs the app on a new device, and iCloud doesn't sync fast enough, the sample trips are added again.

lkellar commented 4 years ago

Some ideas to resolve:

lkellar commented 4 years ago

Well apparently I already tried to fix this, but I did it with UserDefaults, which does not sync across iCloud. So the multiple devices thing wouldn't work.

lkellar commented 4 years ago

Doesn't work. Key Value isn't syncing fast enough.

Maybe we stop the automatic, and below AddButton, a smaller button that says "or add Sample Trips...".

Same for templates