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

android: Fix build to get react-native only from local Maven repo #5535

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Nov 4, 2022

This fixes a build failure which started happening today due to an operational mistake in React Native release management:
facebook/react-native#35204

Happily Gradle gives us a way to more precisely pin down what we want it to do when finding dependencies, which makes the build robust to this and any similar issue. I've sent the same fix upstream for the template app:
facebook/react-native#35208

See also where we spotted the issue in CI:
#5524 (comment)
and discussion in chat:
https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/build.20failure.3A.20libfbjni.2Eso.20duplicated/near/1459787

This fixes a build failure which started happening today due to
an operational mistake in React Native release management:
  facebook/react-native#35204

Happily Gradle gives us a way to more precisely pin down what we
want it to do when finding dependencies, which makes the build
robust to this and any similar issue.  I've sent the same fix
upstream for the template app:
  facebook/react-native#35208

See also where we spotted the issue in CI:
  zulip#5524 (comment)
and discussion in chat:
  https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/build.20failure.3A.20libfbjni.2Eso.20duplicated/near/1459787
@chrisbobbe
Copy link
Contributor

Great, thanks, LGTM! Please merge at will.

@gnprice gnprice merged commit 117e548 into zulip:main Nov 5, 2022
@gnprice gnprice deleted the pr-maven-local branch November 5, 2022 00:22
gnprice added a commit that referenced this pull request Nov 8, 2022
When we upgrade to RN v0.71 (the version that's now approaching
release), we'll no longer need this code we modified recently
in 117e548 / #5535.  Add a note to help us remove it then.
@gnprice gnprice mentioned this pull request Nov 18, 2022
BrandonNgoranNtam pushed a commit to BrandonNgoranNtam/zulip-mobile that referenced this pull request Nov 22, 2022
When we upgrade to RN v0.71 (the version that's now approaching
release), we'll no longer need this code we modified recently
in 117e548 / zulip#5535.  Add a note to help us remove it then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-Android P0 critical Highest priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants