asp_net
asp_net

Reputation: 3597

Storage limitations for WebSQL on iOS (with PhoneGap)

I am currently using Local Storage on both Android and iOS, but reaching capacity limits. So I thought to switch to WebSQL, which is of course deprecated but still working on both platforms.

The question is: is there any limitation regarding the maximum size of the database beside of the natural limitations of Sqlite databases?

I know the answer for Android, which is 'no' (see SQLite database maximum storage capacity).

But it would be nice to get it for iOS, too, before implementing.

Thanks!

Upvotes: 2

Views: 1854

Answers (2)

Dick van den Brink
Dick van den Brink

Reputation: 14499

I know this is an old post but during my testing on WebSQL on iOS I also found that the limit was around 50MB.

I created a plugin to work around this limit for storage.

https://github.com/Thinkwise/cordova-plugin-update-quota

Upvotes: 1

Kyaw Tun
Kyaw Tun

Reputation: 13131

According to FT lab, 50 MB is the limit for iOS.

Upvotes: 3

Related Questions