breautek edited a comment on issue #1043:
URL: https://github.com/apache/cordova-ios/issues/1043#issuecomment-746270479


   If WebSQL no longer works in the webview then migrating data is going to be 
impossible without some plugin with some native code. Even then I'm not sure if 
is possible to migrate WebSQL.
   
   There is a plugin that we used to migrate WKWebView local storage (with 
file:// based origin) to WKWebView using schemes (in this case... ionic:// 
scheme). I would _expect_ the WebSQL physical files to be located along side of 
the `LocalStorage` directory or something, so that's where I'll be prodding 
around. I think you can use xcode to browse through the app's private data.
   
   Even if the WebSQL physical files are there you may not be able to read it. 
I don't know what the format is. Local storage files are just simply an sqlite 
database.
   
   
https://github.com/totalpave/cordova-plugin-migrate-localstorage/blob/master/src/ios/MigrateLocalStorage.m
   
   If happen to find the websql file and you hexdump it. Look at the first 
address line. If you see something like:
   
   `5153 694c 6574 6620 726f 616d 2074 0033` then you're working with a SQLite 
3 database.


----------------------------------------------------------------
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