In Realm Swift, whenever I log out a user and log back in within the same session (not quitting app in between), I get the error in title.
A few print statements indeed show me that the folder Documents/mongodb-realm/[app-id]/[user-id]
is not deleted after logging out and still contains the realm files. I would expect that this folder gets deleted when the user logs out.
- Is it normal that this folder is not deleted?
- How to avoid this error?