Reputation: 25699
I've just seen that phonegap 3.4 no longer provide API doc for storage.
Which is the raccomended way now? I need some relational table support in my app, because I need some complicated data managment and SQL is perfect.
Upvotes: 1
Views: 87
Reputation: 21264
From here:
We have dropped support for platforms that needed a PhoneGap implementation of Storage API and all supported currently devices can use the WebView implementation provided by W3C.
You can find samples as before at this link.
Please as explained in the Storage API instruction, use WebSQL and IndexedDB for the respective platforms as listed in our Storage API guide.
See here for examples using IndexedDB.
See here for examples using WebSQL.
Whichever client side storage you use, make sure it is supported on the devices you're targeting by checking caniuse.com.
Upvotes: 1