Replace lottie loading spinner for activity indicator (#6266)

This commit is contained in:
Elias Nahum
2022-05-12 12:54:43 -04:00
committed by GitHub
parent 3f3e0e76db
commit 08d80e6236
25 changed files with 64 additions and 713 deletions

View File

@@ -288,7 +288,6 @@ dependencies {
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
implementation project(':lottie-react-native')
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

View File

@@ -12,7 +12,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.airbnb.android.react.lottie.LottiePackage;
import com.mattermost.helpers.RealPathUtil;
import com.wix.reactnativenotifications.RNNotificationsPackage;
@@ -62,7 +61,6 @@ public class MainApplication extends NavigationApplication implements INotificat
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
packages.add(new RNNotificationsPackage(MainApplication.this));
packages.add(new LottiePackage());
packages.add(

View File

@@ -6,8 +6,6 @@ if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true")
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
}
include ':lottie-react-native'
project(':lottie-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/lottie-react-native/src/android')
include ':reactnativenotifications'
project(':reactnativenotifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/lib/android/app')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)