Closed Slanfan closed 4 years ago
Are you saying the onSnapshot
method is never called Or it's just your subscribers are not notified?
Are you saying the
onSnapshot
method is never called Or it's just your subscribers are not notified?
console message within onSnapshot never reach my console so I guess the onSnapshot method never gets called.
@manojdcoder did you have a suggestion to solve this? Or maybe @EddyVerbruggen have a solution.
It might be I do something wrong as I’m a n00b but I have the same code running on two other collections (not subCollections though) in the app and that works.
@Slanfan I ran some tests on my end with exact same data model you have showcased, the snapshot method is always called (upon creating / updating / deleting players).
If you still have issues, please share a sample project where the issue can be reproduced.
Did run it on my iOS device instead of the Android Emulator and all worked fine. Need to test and clean the emulator and reinstall there. Will re-open if more help is needed. Thanks anyways.
I have problems getting my observable on subcollection to work. If I add the observable on the first doc level I have no issues returning data but when I reference to a subcollection of a specific document I cannot get the observable to return any document from within the subcollection.
Please help!