Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
response.buffer() and blob.type have no/limited access in ReactNative
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
- Loading branch information