-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PouchDB did not sync docs with attachments #7727
Comments
if you are using angular 6 & 7 or Ionic 4 you have to declare into your polyfill.ts the following code
This will prevent pouchDB from using response.buffer() and it will use repsonse.blob() instead. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
response.buffer() is not supported at all, and blob.type is readonly in ReactNative. Change the limited node/browser detection to (hopefully) feature-proof feature detection instead. Errors fixed in RN: Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported Cannot set property type of #<Blob> which has only a getter at Fixes pouchdb#7688 and pouchdb#7727
response.buffer() is not supported at all, and blob.type is readonly in ReactNative. Change the limited node/browser detection to (hopefully) feature-proof feature detection instead. Errors fixed in RN: Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported Cannot set property type of #<Blob> which has only a getter at Fixes pouchdb#7688 and pouchdb#7727
response.buffer() is not supported at all, and blob.type is readonly in ReactNative. Change the limited node/browser detection to (hopefully) future-proof feature detection instead. Errors fixed in RN: Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported Cannot set property type of #<Blob> which has only a getter at Fixes pouchdb#7688 and pouchdb#7727
…eactNative response.buffer() is not supported at all, and blob.type is readonly in ReactNative. Change the limited node/browser detection to (hopefully) future-proof feature detection instead. Errors fixed in RN: Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported Cannot set property type of #<Blob> which has only a getter at Fixes #7688 and #7727
instead of
|
…ss in ReactNative response.buffer() is not supported at all, and blob.type is readonly in ReactNative. Change the limited node/browser detection to (hopefully) future-proof feature detection instead. Errors fixed in RN: Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported Cannot set property type of #<Blob> which has only a getter at Fixes pouchdb#7688 and pouchdb#7727
As soon as my doc has an attachments pouchdb did not sync it. As soons as I delete the attachment from doc via fauxton the sync is done correctly.
I always see a pending request to the relating database changes feed.
After enable debug I found the following:
I use V7.0 with CouchDB V2.3.0
The text was updated successfully, but these errors were encountered: