1

Can IndexedDB be used in offline hybrid android apps?

I have tried the [example presented in this post,1 while it is working in my laptopn on Google Chrome, it is not working inside the WebView in my android app.

The HTML part of the app is loading fine inside the webview but the javaScript part containing all Indexeddb stuff is not getting executed at all.

What's wrong?

  • 1
    Can you give more information on what "it's not working" means? Any error messages? Maybe you should put the code that isn't working on stackoverflow.com ? – JeffO Dec 04 '13 at 13:25

1 Answers1

3

Depending on your version, it may not be supported in the web view.

Refer to this chart which shows which versions are supported for Android: http://caniuse.com/indexeddb

Andres F.
  • 5,119
  • 2
  • 29
  • 41
Matt Parke
  • 91
  • 1