I have followed the guidance for SQLite DB and using db_copy to persist my database to the phones storage. Apple keep telling me that my app doesn’t meet their iOS Data Storage Guidelines or they will be rejected, but I cant’ work out where not, and it reads that my app should. I’m really need of some help now!
I have the following in my web config, could any one of these be the issue?
Ok I have a working solution which I am just about to upload to Apple. This is taking some information from the above link, and from applying a bit of common sense.
Step 1 : Find the file SQLitePlugin.m and go to line 170 ish. Now put the below lines:
What this does is to tell the SQLitePlugin where to look for your database. The bit you are still missing is to get dbcopy to copy the .db file from the resources directory into the correct directory on the phone. To do this I did the following: