You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use sqlite on iOS to persist data on the iOS device however I can't seem to locate the .db file.
Where can I find the .db sqlite database file on iOS?
I'm using the following code that seems to be adding/retrieving the relevant data and Safari debugger doesn't show the database in the "Storage" section whilst running an Ionic/Vue app on an iPad.
Looking more closely at this problem. Ionic Storage doesn't support location as a property of the StorageConfig. If it was possible to add this and you were using localForage-cordovaSQLiteDriver you could then pass in a location id as found in the underlaying cordova-sqlite-storagepackage (see below):
To work out what options to add as a location I looked in the cordova-sqlite-storagerepo to understand how this errors and also the location options you can pass for iOS (permalink):
In cordova-sqlite-storage there's two lists of iOS specific keys that can be passed to store the db:
Hi there,
I'm trying to use sqlite on iOS to persist data on the iOS device however I can't seem to locate the .db file.
Where can I find the .db sqlite database file on iOS?
I'm using the following code that seems to be adding/retrieving the relevant data and Safari debugger doesn't show the database in the "Storage" section whilst running an Ionic/Vue app on an iPad.
Installation steps:
Code to interact with DB (which is successful, from what I can tell but I can't find the file)
The text was updated successfully, but these errors were encountered: