Memory is constantly lost after updating Cordoba 6.0.0

I have been using Cordova cli for a couple of years now. Today I upgraded from Cordova 5.4.0 to 6.0.0

npm install -g cordova@latest

then I upgraded the Android platform to 5.1.0 from the previous version

cordova platform update android

launched it

cordova run android

It is noted that the icon on my device has been replaced and added to the end of all applications. More importantly, there is no localstorage data. Not once, but every time I run it. Once upon a time, I ran into this problem when I rebuilt from scratch with a different package name. These were only the teams above. The package name has not changed. In this case, nothing has changed in config.xml or AndroidManifest.xml

Any clues where to start. It cleans up the storage every time I run

cordova run android

. config

<preference name="AndroidPersistentFileLocation" value="Internal" />
<preference name="AndroidExtraFilesystems" value="files" />

config.xml -dev, , .

2016-02-22 https://issues.apache.org/jira/browse/CB-10157 , android 5.2.0, , .

+4

Source: https://habr.com/ru/post/1627900/


All Articles