How to stop the removal of the HTML 5 database when using Phonegap and iOS 5.1

I am creating a quiz app for iOS using a phone layout. The app allows users to create and then complete quizzes.

I am currently using an HTML 5 database using phonegap APIs to store test data and results. I am worried that now the database can be deleted iOS 5.1 when the device memory is full.

Is there still a mark in the webkit cache folder where the database is stored so that it never gets deleted? If this is not possible, there are suggestions for another way of storing data that will always be permanent.

+5
source share
3 answers

Webkit iOS 5.1

  • /Webkit /Cache
  • iOS 5.1 ( WebKit)

https://issues.apache.org/jira/browse/CB-330

, Webkit, API. Webkit. . , ( ...).

: , iOS , - iOS. ...

+1

, , Apple iOS5.1

WebKit, API. , ​​ Documents. , : WebKit?

Phonegap : https://issues.apache.org/jira/browse/CB-330

Antoher SQLite ( , WebSQL), . "", , iCloud.

SQLite phonegap: https://github.com/davibe/Phonegap-SQLitePlugin , , , WebSQL, API WebSQL, : https://gist.github.com/2009518

WebSQL ( Library/WebKit Caches) Document. : https://gist.github.com/2009491

, . SQlite DB : https://github.com/orbitaloop/WebSqlSync

+7

Instead of using the html5 database, I sent / received data via ajax (on a remote server with php and mysql), preferably encrypted (and base64_encoded).

-1
source

All Articles