From 14694ce2e6d84d8d58348ed5dc2c31a109a97f1f Mon Sep 17 00:00:00 2001 From: Lee Hoe Mun Date: Mon, 19 Jul 2021 16:39:56 +0800 Subject: [PATCH] chore: dropped fast-image package --- RowRenderer.tsx | 2 +- android/app/proguard-rules.pro | 10 +--------- package.json | 1 - yarn.lock | 5 ----- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/RowRenderer.tsx b/RowRenderer.tsx index e4f45f6..4666958 100644 --- a/RowRenderer.tsx +++ b/RowRenderer.tsx @@ -6,6 +6,7 @@ import { FlatList, Pressable, ImageBackground, + Image, ActivityIndicator, } from 'react-native'; import Ionicons from 'react-native-vector-icons/Ionicons'; @@ -16,7 +17,6 @@ import Animated, { useAnimatedStyle, useSharedValue, } from 'react-native-reanimated'; -import Image from 'react-native-fast-image'; import equal from 'fast-deep-equal'; const {width} = Dimensions.get('window'); const AnimatedFlatlist = Animated.createAnimatedComponent(FlatList); diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index e7becae..db3d00c 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -9,12 +9,4 @@ # Add any project specific keep options here: --keep class com.facebook.react.turbomodule.** { *; } --keep public class com.dylanvann.fastimage.* {*;} --keep public class com.dylanvann.fastimage.** {*;} --keep public class * implements com.bumptech.glide.module.GlideModule --keep public class * extends com.bumptech.glide.module.AppGlideModule --keep public enum com.bumptech.glide.load.ImageHeaderParser$** { - **[] $VALUES; - public *; -} \ No newline at end of file +-keep class com.facebook.react.turbomodule.** { *; } \ No newline at end of file diff --git a/package.json b/package.json index ad32bf4..06a371b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "fast-deep-equal": "^3.1.3", "react": "17.0.1", "react-native": "0.64.1", - "react-native-fast-image": "^8.3.6", "react-native-reanimated": "^2.2.0", "react-native-safe-area-context": "^3.2.0", "react-native-vector-icons": "^8.1.0", diff --git a/yarn.lock b/yarn.lock index 0922981..6d34972 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5361,11 +5361,6 @@ react-native-codegen@^0.0.6: jscodeshift "^0.11.0" nullthrows "^1.1.1" -react-native-fast-image@^8.3.6: - version "8.3.6" - resolved "https://registry.yarnpkg.com/react-native-fast-image/-/react-native-fast-image-8.3.6.tgz#b9f2d2e615919fd46ccbc9f8ad85d372196b0f0c" - integrity sha512-vjecBJXg9mCXGGfoUZ94SBEP1SYOkRN/w9SORH7D86PIQUVIqGbxW/Di3N79GI8Wsbay8qI7IWVHK7x26kIHbw== - react-native-reanimated@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-2.2.0.tgz#a6412c56b4e591d1f00fac949f62d0c72c357c78"