Skip to content
Discussion options

You must be logged in to vote

There's no bundle helper in the Admin SDK by design. Bundles exist to give client SDKs a local, cached copy of query results (server-timestamped, delta-able) so clients skip round trips. A server using the Admin SDK doesn't need that indirection — it can run the same query directly and get authoritative results.

So the supported pattern with the bundle-builder extension: build the bundle server-side, host it (CDN, Storage, an HTTP function), and let web/mobile clients loadBundle() it. Parsing the bundle server-side with an unofficial parser is fragile — the format packs Firestore document protos plus metadata that only the client SDKs know how to materialize into a local query cache.

If y…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by justinh00k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants