bug: Collection Groups Don't Work
mooalot opened this issue · comments
Plugin(s)
- Analytics
- App
- App Check
- Authentication
- Crashlytics
- Cloud Firestore
- Cloud Messaging
- Cloud Storage
- Performance
- Remote Config
Version
5.3.0
Platform(s)
- Android
- iOS
- Web
Current behavior
Getting a collection group returns no data.
Expected behavior
It should return data.
Reproduction
https://github.com/mooalot/cap-firestore
Steps to reproduce
- Add sub collection documents to firestore
- Read sub collections as collection group
- Nothing is returned
Other information
I haven't tried IOS or Android yet. The example repo is a direct comparison of what firebase does vs what capacitor-firebase does.
Capacitor doctor
Not Necessary
Before submitting
- I have read and followed the bug report guidelines.
- I have attached links to possibly related issues and discussions.
- I understand that incomplete issues (e.g. without reproduction) are closed.
Thank you for reporting the issue.
I just published a dev version with a potential fix:
npm i @capacitor-firebase/firestore@5.3.0-dev.244262.1704405695
It would be great if you could help me with testing.
Thank you for reporting the issue. I just published a dev version with a potential fix:
npm i @capacitor-firebase/firestore@5.3.0-dev.244262.1704405695
It would be great if you could help me with testing.
This seems to fix the issue. I will be writing relatively extensive tests. I will let you know if there are any more problems.
Great, thank you for testing!