Ionic 3 issue on localStorage getting delete when updating new version

we have app on play store which preiviously made in phonegap using localStorage.
when i trie to update our new app (ionic 3) , its making localStorage clear when updating app.
Because of this user need to re-login in app.

Please help to solve this issue.

Don’t use localstorage. Problem solved.

did you understand what i say?

in previous app user is already login. we store the status login in localStorage to check user is login or not.
Now login status is not there when we update app with ionic. ionic removing all storage

I’m saying don’t do that. Use Ionic Storage instead. Back it with SQLite or IndexedDB.

so what about re-login? We dont want to force users to do re-login.