We’re experiencing this sync error:
Received sync error from XXXXX - Error: User mismatch for client file identifier (IDENT)
It’s probably because, for tests purpose, we switch accounts in our application without deleting the app, so realm don’t match the new account with the local files created by the first one.
So. my thoughts was to clean all locals files when this happen so we can start again with a clean app, but i don’t find anything in the documentation about that.
If i do a
deleteAll() in all my realms, it will also wipe the datas on Atlas and not only on the phone, and that’s not what we want.
In fact, we would like to erase all the files/folders on
/Documents (for IOS)
/Users/xxx/Library/Developer/CoreSimulator/Devices/xxx/data/Containers/Data/Application/xxx/Documents who contain all synced datas, but is there a proper way to do it ?