Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
scroll top