firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Recent fixes + improvements to FIRDatabaseQuery#getDataWithCompletionBlock
trafficstars
This change includes fixes ported from:
- https://github.com/firebase/firebase-android-sdk/pull/3887
- https://github.com/firebase/firebase-android-sdk/pull/3962
- https://github.com/firebase/firebase-android-sdk/pull/3485
Highlights:
FSyncTree{add, remove}EventRegistrationnow haveskipListenDedupandskipListenSetupwhich are set to true bykeepQueryif it's being called to establish a short-livedViewto update persistent cache ingetDataWithCompletionBlock.- The branch in
FPersistentConnectionthat waits for a connection to be established is now removed. The firstgetDataWithCompletionBlockwill block until initial connect. Everyget()thereafter fallback to persisted cache in the worst case.
| 1 Warning | |
|---|---|
| :warning: | Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.) |
Generated by :no_entry_sign: Danger
Coverage Report 1
Affected Products
FirebaseDatabase-iOS-FirebaseDatabase.frameworkOverall coverage changed from 56.99% (09aae23) to 56.91% (e29350b) by -0.08%.
Filename Base (09aae23) Merge (e29350b) Diff FPersistentConnection.m 21.28% 21.81% +0.54% FRepo.m 13.49% 13.01% -0.48% FSyncTree.m 71.33% 70.87% -0.46%
Test Logs
- @aashishpatil-g Please close, merge, or comment. We plan to close stale PRs on November 28, 2023.
@paulb777 - We are still actively considering this PR for merge.
Closing. Will re-open once the master branch is re-named.