crazycodeboy / react-native-splash-screen

A splash screen for react-native, hide when application loaded ,it works on iOS and Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AndroidX migration

Darex1991 opened this issue · comments

Hi, yesterday I ran migration from Android studio from Jetifier to Androidx and it changed react-native-splash-screen. What do you think? It is necessary or useless?

patch 3.2.0:

diff --git a/node_modules/react-native-splash-screen/android/build.gradle b/node_modules/react-native-splash-screen/android/build.gradle
index 9591911..f3df2ba 100644
--- a/node_modules/react-native-splash-screen/android/build.gradle
+++ b/node_modules/react-native-splash-screen/android/build.gradle
@@ -28,6 +28,6 @@ dependencies {
 
     implementation fileTree(dir: 'libs', include: ['*.jar'])
     testImplementation 'junit:junit:4.12'
-    implementation "com.android.support:appcompat-v7:$supportLibVersion"
+    implementation "androidx.appcompat:appcompat:1.6.1"
     implementation "com.facebook.react:react-native:+" // From node_modules
 }

Thanks