watadarkstar / react-native-typing-animation

💬 A typing animation for your React Native chat app based on simple trigonometry to create better loaders.
https://www.npmjs.com/package/react-native-typing-animation
MIT License
282 stars 15 forks source link

AndroidX migration #86

Open Darex1991 opened 10 months ago

Darex1991 commented 10 months ago

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

patch for 0.1.7:

diff --git a/node_modules/react-native-typing-animation/example/android/app/build.gradle b/node_modules/react-native-typing-animation/example/android/app/build.gradle
index 9b262c0..21cb281 100644
--- a/node_modules/react-native-typing-animation/example/android/app/build.gradle
+++ b/node_modules/react-native-typing-animation/example/android/app/build.gradle
@@ -138,7 +138,7 @@ android {

 dependencies {
     implementation fileTree(dir: "libs", include: ["*.jar"])
-    implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
+    implementation "androidx.appcompat:appcompat:1.6.1"
     implementation "com.facebook.react:react-native:+"  // From node_modules
 }

Thanks

Qy742698 commented 2 months ago

Can you set the dotStyles property to take effect?