Replies: 1 comment
|
The correct type depends on which SDK you're using. Here's the full picture: Admin SDK (Node.js) — use
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Already asked there without success
Js Blob and SDK Bytes return a serializing error.
Error: Value for argument "data" is not a valid Firestore document. Couldn't serialize object of type "Bytes" (found in field "binaryData"). Firestore doesn't support JavaScript objects with custom prototypes (i.e. objects that were created via the "new" operator).Serializing works when i send it as Uint8Array but then it's displayed as a base64 string in firestore emulator..?
And when i try to retrieve it with Web SDK it return to me as byteString/binaryString object..?
What's the correct way to store bytes in firestore?
All reactions