-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
build(deps): Bump android Appcompat to 1.4.1 #33072
Conversation
@@ -323,7 +323,7 @@ public View getContentView() { | |||
} | |||
|
|||
public boolean isShowing() { | |||
return mDialog.isShowing(); | |||
return mDialog != null && mDialog.isShowing(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Base commit: 172f990 |
Base commit: 172f990 |
3bb403c
to
9ab8271
Compare
@cortinico I believe this commit cd79317 broke CI, in particular the |
Ohh never mind, I guess you already have a PR fixing this |
9ab8271
to
6a84ccc
Compare
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Yup you're right. We're working on it, hopefully it will be out in the next hours. Sorry for the disruption 👍 |
Hi, thanks for upgrading it, do you mind updating the BUCK file for the dependency as well?
|
Sure @ShikaSD, I can update that. My only question is regarding the |
It can be retrieved from google maven repo, I don't think we have any command that upgrades it automatically. If you struggle to find the hash, you can upgrade the version and then wait for the CI to fail, it should have a new hash there. |
Ohh got it! Thanks @ShikaSD |
Done 😄 |
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
I think CI is broken after the latest commit, it cannot find some androidx classes:
|
#33068 has been marged. You should be able to rebase and get a green CI from that 👍 |
ee40a15
to
99c9059
Compare
Yeah, I had quite a hard time installing BUCK in my machine to investigate this because I'm using an M1 mac, I finally got it working, I'll start investigating why this is falling now |
99c9059
to
252034f
Compare
Any suggestion on how to fix this @ShikaSD @cortinico ? I believe the |
Yup, you'll need to add to the BUCK file you attached the following rule:
and edit the "appcompat" target with: fb_native.android_library(
name = "appcompat",
visibility = ["PUBLIC"],
exported_deps = [
":annotation",
":appcompat-binary",
+ ":appcompat-resource-binary",
":collection",
":core",
":cursoradapter",
":fragment",
":legacy-support-core-utils",
":vectordrawable",
":vectordrawable-animated",
],
) If you see the other targets have similar definition |
I managed to fix this by bumping android:core version as well |
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @gabrieldonadel in 6b61995. When will my fix make it into a release? | Upcoming Releases |
Summary: Currently we are using Appcompat in version 1.0.2 which is almost 4 years old now, this PR updates it to version 1.4.1. Using Appcompat 1.0.2 was also causing a crash on RNTester due to an error where FontFamily's method was not found (Related to facebook#33065) Closes facebook#31620 ## Changelog [Android] [Changed] - Bump android Appcompat to 1.4.1 Pull Request resolved: facebook#33072 Test Plan: Use `./scripts/test-manual-e2e.sh` to test both RNTester and a new app Reviewed By: cortinico Differential Revision: D34107105 Pulled By: ShikaSD fbshipit-source-id: 966e4687b09ae50a88ee518622f073d72e8c6550
Summary
Currently we are using Appcompat in version 1.0.2 which is almost 4 years old now, this PR updates it to version 1.4.1.
Using Appcompat 1.0.2 was also causing a crash on RNTester due to an error where FontFamily's method was not found (Related to #33065)
Closes #31620
Changelog
[Android] [Changed] - Bump android Appcompat to 1.4.1
Test Plan
Use
./scripts/test-manual-e2e.sh
to test both RNTester and a new app