First of all thanks for PouchDB, the long polling sync gives the app a near realtime behavior, even for offline pictures, very cool !
Speaking attachments, we felt on a bug on Safari iOS 7, that only happens when more than 10 attachments of about 300ko are in the local Pouch Database.
When querying a local persistent view (defined in local _design doc) with or without attachment=true, with a limit=25, safari silently fails, never executing then() nor catch() of the promise.
After that, WebSQL seems to be corrupted on all safari pages, even after reload. All promises (event simple get()) are silently failing.
To get PouchDB working again, we have to clear all safari data.
We did not have this issue when no attachments was in the db.
Is this a known bug of safari iOS7 WebSQL ? Large base64 values corrupts WebSQL entirely until clearing all safari data ?
Thanks for your help,
Adrien