Skip to content

Firestore getDocument #288

Answered by mobizt
abddi asked this question in Q&A
Dec 2, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You're posting wrong repository, this repo is for RTDB only.

This is the repos for the client for Firebase products included Firestore.

The return payload is only available from fbdo.payload() which is the JSON serialized string and you should parse it manually for your desire value as the data can be any from simple to complex JSON.

See the Basic example to use FirebaseJson class to create and parse JSON.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@abddi
Comment options

Answer selected by mobizt
Comment options

You must be logged in to vote
0 replies
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