Hi,
I migrated my app from ionic V1 to Ionic V3, android works perfectly, but iOS don’t found old database, I jailbreak mobile and I the issue is:
-Old app save data at:
/private/var/mobile/Containers/Data/Application/xxxxxxxxxxxxxxxxxxxx/Library/Caches
-New app save data at:
/private/var/mobile/Containers/Data/Application/xxxxxxxxxxxxxxxxxxxx/Library/WebKit/WebsiteData/WebSQL
Why?? Can I force old path??
How are you writing and accessing that database?
Is this iOS or Android?
Same code for Android and iOS, the issue is only in iOS
let db = new PouchDB(‘mydatabase’);
db.get(‘configurations’).then((res: any) => {
…
});
Sujan12
4
Are you using the same version of that PouchDB library?
Sounds more like something the maintainers of that library might be able to answer.
Thempra
5
it seems a very old bug, localstorage, localforage, … 