chore: sync upstream capawesome-team/capacitor-firebase at 15c2107d
Merged
RI
3d ago+4914+4914+0123456789012345678901234567890123456789-2502-2502-0123456789012345678901234567890123456789
What
- Cherry-pick upstream
mainfrome118657cthrough15c2107d5058edb7d5d53dfeb6b7b994566705c9 - Set
.github/upstream-sync.jsonlastIntegratedUpstreamShato15c2107d5058edb7d5d53dfeb6b7b994566705c9 - Port Firestore native code to upstream's restructured layout under
app/capgopaths, includingTerminateOptionsand the iOSterminateguard when implementation is missing - Keep Cap-go workflows, package names, podspecs, README promo sections, and Capacitor 9 wiring
Why
Scheduled upstream sync on issue #30 failed with merge conflicts against the older marker (e118657c). This PR advances the fork to the current upstream head and records the marker so scheduled sync can skip until upstream moves again.
How
- Cherry-picked five upstream commits: messaging simplify (
271ccacc), Firestore restructure (7db7dec6), named Firebase apps (44cce102), Firestore Android null fixes (bd147b19), authentication fixes (15c2107d) - Resolved path renames from
io.capawesometoapp.capgofor App and Firestore Android sources - Preserved Cap-go
getPluginVersionon App and Firestore while taking upstream API changes
Upstream commits integrated (since e118657c)
| SHA | Change |
|---|---|
271ccacc | Simplify convertNotificationPermissionToPermissionState (messaging Web) |
7db7dec6 | Restructure Firestore native code (options classes, callbacks) |
44cce102 | Named Firebase apps (initializeApp, getApps, Firestore appName option) |
bd147b19 | Fix Firestore null value bugs on Android |
15c2107d | Fix five authentication bugs on Android and iOS |
Testing
bun installbun run fmtbun run lintbun run buildbun run verify:web- Firestore and App
verify:webper package
Not Tested
- Full
verify:androidandverify:ioson this VM (no Android SDK). CI runs platform builds.
Fixes #30


Summary by CodeRabbit
- New Features
- Added a Firestore
terminate()method across platforms. It stops the current instance; subsequent Firestore calls start a new one.
- Added a Firestore
- Bug Fixes
- Crashlytics custom-key calls now return a clear error when the value is missing or null.
- Firestore network operations now wait for their result before completing, and missing collection-group references report the appropriate error.
- Documentation
- Clarified when to clear Firestore persistence and what to expect when terminating an instance, including listener and in-flight operation behavior.