Start a new topic

Reduce the requested size of the WebSQL database by 237KB

The Kinvey Javascript SDK requests a WebSQL database size of 5 * 1024 * 1024 in the 'WebSqlAdapter' class. Unfortunately, Apple has a slightly different definition of a megabyte and anything over 5 * 1000 * 1000 will result in a dialog asking "Allow this website to use space on your disk?". Since I assume Kinvey chose this 5MB limit to avoid this dialog, it would make sense to adopt Apple's definition so that the dialog is avoided in Safari as well.

Hey Jason, this is a good suggestion. I'm going to bring it to @Mark‌ 's attention and stick it under Feature Requests as well.
Thanks for the suggestion.
This is now updated! http://devcenter.kinvey.com/html5/timeline
Login or Signup to post a comment