Preserve localStorage/Session informations when migrate from Cordova to CapacitorJS

Hi. I’m using Capacitor 3 to create a new release to my WebApp migrating from Cordova.

The app by Cap3 is losing my localStorage data… Because is loaded in http://localhost instead of file://android_asset… like in cordova before.

I’m trying to use the conf “server”: { “androidScheme”: “file” } but now I’m facing the error:

The webpage at file://localhost could not be loaded because: net::ERR_ACCESS_DENIED

Any of you had the same problem before?

Having the same issue.

Any workarround?