Skip to content
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(build): Use one version of firebase SDKs everywhere #4332

Merged
merged 3 commits into from
Jan 4, 2021

Conversation

mikehardy
Copy link
Contributor

Description

The logic to specify a baseline firebase SDK version and accept an override for same is fairly standardized across the repository but not applied uniformly or used everywhere

This PR harmonizes the logic across the repository, depends on firebase_core as needed in place of lower-level direct pod dependencies on ios and uses the BoM and core pod versions where ever possible

Related Issues

This is related to the forward port PR #4249 but is not a core part of that change, rather it makes that change easier while being independently correct and useful, so I'm submitting it separately for immediate consideration in order to shrink that PR and get feedback on utility

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • No, this is not a breaking change.

- depend on firebase_core in preference to Firebase/Core (or CoreOnly)
- do not specify override versions where unnecessary
- include Firebase SDK version override logic in all podspecs
@mikehardy
Copy link
Contributor Author

Admob Android CI failed because there are no retries on network fetches.

I've noted that before 😄 and have a fair bit of experience de-flaking these things, if the style I proposed for this repo could work then I could finish building it out and CI would be more reliable: #4265

@Salakar Salakar merged commit 35ce732 into firebase:master Jan 4, 2021
@mikehardy mikehardy deleted the use-one-version-everywhere branch January 4, 2021 23:45
@firebase firebase locked and limited conversation to collaborators Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants