LocalStorage is cleaned up when an application update through stores (GooglePlay and TestFlight)

Hi,

I have a application published in GooglePlay and TestFlight. However, when I launch a new version of the application, it clears the localstorage and the user needs to login again. :cry:
Anyone have any idea what’s going on?