What js object should i use to store bytes in firestore using Admin / Web SDK? #2472
|
Already asked there without success Js Blob and SDK Bytes return a serializing error.
Serializing works when i send it as Uint8Array but then it's displayed as a base64 string in firestore emulator..? What's the correct way to store bytes in firestore? |
Replies: 1 comment
|
The correct type depends on which SDK you're using. Here's the full picture: Admin SDK (Node.js) — use
|
The correct type depends on which SDK you're using. Here's the full picture:
Admin SDK (Node.js) — use
BufferWeb SDK (browser) — use
Bytes