Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web SQL Storage Limitations in Chrome and Android?

So I am writing a web app that needs to store ~40MB of offline data in a offline Web SQL database. It needs to work in Chrome (desktop), Safari (desktop and mobile) and android's browser. Now I know that Web SQL is supported in these browsers and I know since which versions but i need to know how much storage is allowed. Safari desktop supports 500MB of database storage. Safari mobile supports 50MB of database storage.

However I have spent literally hours searching everywhere to find out what space chrome desktop supports and what the android browser supports but cannot find anything concrete. One place noted a hard 5MB limit for chrome desktop while another quoted a 25MB limit for chrome desktop (without using a chrome extension). One source for android's browser noted a 15MB limit another noted a 5MB limit. Can anyone point me to somewhere that states what the actual hard limits on Web SQL storage are for android and chrome??

like image 911
user1231175 Avatar asked Apr 21 '12 16:04

user1231175


1 Answers

See this link for Google Chrome:

http://code.google.com/chrome/extensions/manifest.html#permissions

Default is 5MB, but you can switch the unlimitedStorage property

Here is another discussion on the same topic:

What Is the Size Limitation of Google Chrome Databases for Google Chrome Apps?

For Android if found this thread that might be helpful: SQLite database maximum storage capacity

like image 115
Tys Avatar answered Oct 02 '22 21:10

Tys