-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Refix firebase ios sdk dependencies / adopt firebase-ios-sdk 11.5.0 #8130
Conversation
firebase-ios-sdk minimum versions are much higher than this currently, these are no longer necessary
this was intended to be a static framework toggle, use correct name (vs copy-paste analytics var name) and disable it as !use_frameworks dominates the setting in practice
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Well that's unexpected: It triggered my new "could not find 11.5.0 firebase-ios-sdk" in CI Why? Possibly some missing step in workflow, unsure but queued for investigation edit: Unable to resolve even with very close inspection 🤷 - removed that check, we'll just continue to rely on built-in pod error messages, they're not too bad at least |
cb53aa2
to
3aef586
Compare
fc892a8
to
049c073
Compare
This reverts commit d03ab42. the cure was worse than the disease, see: #8127 If we constrain deps to <=, old deps may be used which is invalid If we constrain deps to =, then binary firestore-ios-sdk-frameworks does not resolve If we constrain deps to ~> like FlutterFire it may work However, we constrained this way for a long time without issue until one build break that prompted this commit, and the ~> suffered the build break as well in FlutterFire The break was fixed quickly and had a workaround, so revert appears to be the lesser of all evils
68758ff
to
1edfe47
Compare
Description
Note to reviewer: review commit by commit, the diffs are all tiny with hopefully useful messages
With #8127 I discovered that my fix for the temporary build error with firebase-ios-sdk 11.4.1 (in #8074) had a negative side effect - it constrained versions to not slip upwards but it allowed old versions to stay in place.
That is not okay, as we depend on updated versions to bring us new APIs that we use (which was the problem in #8127)
So, with this commit I'm reverting that change as the cure was worse than the disease and there is no other good way to specify the versions since
=
breaks integration with firestore-ios-sdk-frameworks (I tested it, I was surprised and disappointed)I take the opportunity in separate commits to:
Related issues
Release Summary
All conventional commits so a rebase merge should work, followed by a release
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
Lots of local testing of
pod install
with various settings of the firebase-ios-sdk version to see how the new fail-fast error logic behaves, and how the versions in Podfile.lock are resolvedThink
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter