x3m
x3m

Reputation: 553

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!

Upvotes: 13

Views: 5082

Answers (2)

iamhungry129
iamhungry129

Reputation: 166

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

Upvotes: 3

Aaron Powell
Aaron Powell

Reputation: 25099

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.

Upvotes: 13

Related Questions