DEV Community


Discussion on: Hacking PouchDB to Use It on React Native

badbod99 profile image

Looks good. I wonder if it's possible to polyfill the buffer logic rather than forking pouchdb to sort the attachment issue. Otherwise, might be worth putting together a PR for a new option to the PouchDB repo for forcing base64 when buffers are not supported/available.

craftzdog profile image
Takuya Matsuyama Author

I've tried rn-nodeify to polyfill Buffer but it didn't solve the issue.

Forem Open with the Forem app