LocalStorage gets cleared on iOS


OS clears app data if the available space is low (show as 0MB available in my iPad Air 2 v8.4) and as a result data in Local Storage is lost.
I used to save Registration details of the user in Local Storage and after this issue I am considering alternatives to save data persistently.
What I have thought of is to use cordova-plugin-secure-storage plugin. Since it uses keyChain, data will not be cleared by the OS. And it is secure too.

Appreciate if you can share your experience if you have come across this issue.

Thank you.