cordova - Offline/local storage of data (text, images, …) in PhoneGap 3.5 -


I am creating a simple app using PhoneGap 3.5.0-0.20 and I have the content of the app "stored offline Want to do "and locally on the device so there is no need to download the content every time.

Although there are thousands of ways to do this, I am not the best way to do this, it is in PhoneGrap 3.5 using a Javascript API. I know about LocalStorage but as far as I know, it has a file size restriction (5 MB), but I need to store almost 100 MB of content on the device. I only want to update it, I also have a need to flush the cache (= as soon as the device has an internet connection).

I will implement the check for updates and download myself, I need to keep content continuously on devices across platforms (iOS, Android, Windows Phone) and clear it Please.

Thank you for your help! :)

You can use websql . It's constantly easy to use, but I would recommend any SQLite wrapper.

Check it out

This plugin is very easy to use, such as webSQL

  var db = Window.sqlitePlugin.openDatabase ({name: "my.db"});  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -