-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
ReactActivity extends AppCompatActivity #23278
ReactActivity extends AppCompatActivity #23278
Conversation
Generated by 🚫 dangerJS |
@mdvacca I just realized that I had learned something about BUCK setup while working on landing Android Support Library 28.0.0. Please import it and see if it works. Thank you very much. |
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.
@mdvacca has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@mdvacca is it work? |
There is an internal build error because of lack of dependency but buck works fine, I will update that dependency and then land this |
@dulmandakh merged commit 3b9604f into |
This PR produced runtime crashes with errors: The fix is to use a Theme from AppCompat in the AndroidManifest.xml file: to: We should flag this PR as a backward in-compatible change for next version release. |
@mdvacca I couldn't find non AppCompat theme reference in RN repo. But I agree that we should add notes about it. |
Summary: Google recommends to extend AppCompatActivity. and This PR changes ReactActivity to extend AppCompatActivity [Android] [Changed] - ReactActivity extends AppCompatActivity Pull Request resolved: facebook#23278 Reviewed By: fkgozali Differential Revision: D13937917 Pulled By: mdvacca fbshipit-source-id: 4216482b30349b24e3cbf2bdc24d9a890744132f
Summary
Google recommends to extend AppCompatActivity. and This PR changes ReactActivity to extend AppCompatActivity
Changelog
[Android] [Changed] - ReactActivity extends AppCompatActivity
Test Plan
CI is green and everything should work as usual.