breautek edited a comment on pull request #1137:
URL: https://github.com/apache/cordova-android/pull/1137#issuecomment-824911211


   I have a plugin that I used to migrate from crosswalk local storage 
containers to the normal webview storage container under an http://localhost 
origin
   
   I'm sure it could be adapted for this specific migration.
   
   Chrome has two different storage containers that is used, depending on the 
webview version (i think the switch happened around chrome 78 if i recall 
correctly).
   
   So the plugin will definitely have to be adapted to look for a leveldb 
database under the old origin, and if missing then fallback to the sqllite 
database.
   
   Chrome (unless if they have changed it since Chrome 80ish) will auto migrate 
sqllite databases to leveldb, so we don't need to worry about converting the 
database ourselves.
   
   I have no idea if indexeddb follows the same pattern though.
   
   
https://github.com/totalpave/cordova-plugin-crosswalk-data-migration/tree/totalpave/master


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to