Native Logout question

Hi Experts, I have a question regarding native logout on how it functions. Is it true that all data on our local mobile device is wiped when we logout? So all data that we have committed locally but haven’t synced is gone? Please enlighten me. Cheers!
1 answers

It's correct that all data is wiped from the app's database when a user logs out. However, an automatic synchronisation is triggered at log-out, so any locally committed items will be synched at that time. Only uncommitted objects will be lost. Therefore it's a good idea to only let a user log out when they have connection, and model your app in a way that prevents data-loss.