Software Archive
Read-only legacy content
17061 Discussions

IndexedDB just not work on iPhone.

Rodrigo_M_1
New Contributor II
467 Views

Hi there,

I'm trying to use a local Database on iPhone 6 plus, but it seems that's not working...

On Android devices works fine!

Here is the link of a sample I'm using for tests: http://qnimate.com/local-database-storage-using-intel-xdk/

And here is the compatibility link, but It's not the IndexedDBpolyfill: http://caniuse.com/#feat=indexeddb

Should I use the SQLite instead of IndexedDB for iPhone ?

Thanks!

0 Kudos
1 Solution
Amrita_C_Intel
Employee
467 Views

Hello,

In Qnimate example that API has been deprecated. Use the equivalent Cordova plugin instead or any other equivalent third party Cordova plugin.

View solution in original post

0 Kudos
3 Replies
Amrita_C_Intel
Employee
468 Views

Hello,

In Qnimate example that API has been deprecated. Use the equivalent Cordova plugin instead or any other equivalent third party Cordova plugin.

0 Kudos
Rodrigo_M_1
New Contributor II
467 Views

Hi Amrita C., thanks for your answer!

Just one more question: What's the difference between the SQLite Cordova Plugin and the Web SQL Storage from https://software.intel.com/en-us/articles/html5-local-storage

Thanks Again!

Rodrigo.

0 Kudos
Amrita_C_Intel
Employee
467 Views

 

  • HTML5 web storage = generic umbrella term for the new client-side data storage options:
  • Local Storage = persistant and scoped to the domain. At the moment two flavors are usually mentioned:
  • Web SQL (aka Web Database) = uses a SQL database
  • 'default' = stores things in name/value pairs
  • Session Storage = non persistent and scoped only to the current window
  • Cookies = the old school way of doing all of the above. Stores name/value pairs per domain.
0 Kudos
Reply