0

after opening my phonegap app in iPad it shows error index.html , your device doesn't support a stable version of indexedDB.

but it works fine in all other device (android and iphone)

i have tried adding the IndexedDBShim as script in index.html file, but didnt worked. i have also tried using cordova plugins in config.xml as follows <plugin name="com.msopentech.indexeddb"/> <plugin name="cordova-plugin-indexeddb-async"/>

but non worked. please let me know if anyone have faced this problem earlier and solved.

Thanks

Ashraful Islam
  • 895
  • 7
  • 17

1 Answers1

0

It depends on the version of the Safari installed in the iPad. If your Safari version is < 10 IndexedDB is not supported.

OK200
  • 727
  • 6
  • 22
  • thanks for the info. is there any way to add additional support for indexedDB in this type of situation ? – Ashraful Islam Jul 13 '17 at 07:27
  • No there are no additional support. You have to go for fallback to localstorage if data to be stored is less. – OK200 Jul 13 '17 at 10:00
  • 1
    To add to this, reference CanIUse.com for these features - it's fantastic. http://caniuse.com/#search=indexeddb – dotNetkow Jul 13 '17 at 23:52