Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Indexeddb in Chrome on IOS - when available?

Does anyone know when or how Indexeddb will be available in Chrome on IOS? Indexeddb works well in mobile Chrome on Android devices!

like image 771
x3m Avatar asked Apr 20 '13 21:04

x3m


People also ask

When can I use IndexedDB?

IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline.

Does iOS Safari support IndexedDB?

IndexedDB on Safari on iOS is fully supported on 10-16, partially supported on 8.1-14.5, and not supported on 3.2-7 Safari on iOS versions. IndexedDB on Android Browser is fully supported on 4.4-103, partially supported on None of the versions, and not supported on 2.3-4 Android Browser versions.

Is Chrome browser available for iOS?

Chrome is available for: iPad, iPhone, and iPod Touch. iOS 12 and up. All languages supported by the App Store.


2 Answers

Chrome for iOS is not really the same as Chrome on other platforms due to restrictions in iOS. It's really just a wrapper around the standard iOS web browser control. This means it's restricted to similar restrictions and iOS WebKit (there's a few other restrictions to do with JS optimisation and such).

Because of that you're at the mercy of iOS WebKit support for IndexedDB and it's unclear as to when that'll come. In the mean time you can always use the IndexedDB polyfill which wraps WebSQL, which is supported according to haz.io.

Update: As @x3m has pointed out iOS8 will be adding IndexedDB support so on iOS and Safari Desktop IndexedDB will be supported.

like image 161
Aaron Powell Avatar answered Oct 16 '22 17:10

Aaron Powell


For what it's worth I did some tests on iOS 8 beta 5 for who ever is interested.

Safari (Chrome is not optimized for iOS 8 yet) was able to store 1GB (1024MB exactly) of data in Indexed DB, but only in chunks of 10MB at a time

like image 44
iamhungry129 Avatar answered Oct 16 '22 16:10

iamhungry129