Skip to content

Commit

Permalink
fix(android): app crashes when trying to render TextInput (#643)
Browse files Browse the repository at this point in the history
The app crashes when trying to render `TextInput` with AppCompat Library
at v1.4.0. For more details, see the GitHub issue:
facebook/react-native#31572

This reverts commit 4c34c8c.
  • Loading branch information
tido64 authored Dec 8, 2021
1 parent b7224ef commit 0a20155
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion android/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ ext {
* See https://github.com/dependabot/feedback/issues/345.
*/
libraries = [
androidAppCompat : "androidx.appcompat:appcompat:1.4.0",
// androidx.appcompat:appcompat:1.4.0 breaks TextInput. For now, we
// need to lock it to 1.3.1 until the fix is released with the next
// version of react-native. For more details, see
// https://github.com/facebook/react-native/issues/31572.
androidAppCompat : "androidx.appcompat:appcompat:1.3.1",
androidCoreKotlinExtensions : "androidx.core:core-ktx:1.7.0",
androidEspressoCore : "androidx.test.espresso:espresso-core:3.4.0",
androidJUnit : "androidx.test.ext:junit:1.1.3",
Expand Down

0 comments on commit 0a20155

Please sign in to comment.