react-native-fast-image 8.18.0 → 8.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -15
- package/android/build.gradle +2 -0
- package/android/consumer-rules.pro +17 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -91,21 +91,6 @@ const YourImage = () => (
|
|
|
91
91
|
|
|
92
92
|
- [Are you using Glide already using an AppGlideModule?](docs/app-glide-module.md) (you might have problems if you don't read this)
|
|
93
93
|
|
|
94
|
-
## Are you using Proguard?
|
|
95
|
-
|
|
96
|
-
If you use Proguard you will need to add these lines to `android/app/proguard-rules.pro`:
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
-keep public class com.dylanvann.fastimage.* {*;}
|
|
100
|
-
-keep public class com.dylanvann.fastimage.** {*;}
|
|
101
|
-
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
102
|
-
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
|
103
|
-
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
|
104
|
-
**[] $VALUES;
|
|
105
|
-
public *;
|
|
106
|
-
}
|
|
107
|
-
```
|
|
108
|
-
|
|
109
94
|
## Properties
|
|
110
95
|
|
|
111
96
|
### `source?: object`
|
package/android/build.gradle
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# ProGuard/R8 rules for apps that use FastImage: the Android Gradle plugin
|
|
2
|
+
# applies them to the app's release build (consumerProguardFiles in
|
|
3
|
+
# build.gradle), so apps don't need to copy them.
|
|
4
|
+
|
|
5
|
+
# FastImage's classes: its view manager, native module, Glide modules and
|
|
6
|
+
# events.
|
|
7
|
+
-keep public class com.dylanvann.fastimage.* {*;}
|
|
8
|
+
-keep public class com.dylanvann.fastimage.** {*;}
|
|
9
|
+
|
|
10
|
+
# Glide's modules (FastImage's, and the one Glide generates from them) and
|
|
11
|
+
# its image header types.
|
|
12
|
+
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
13
|
+
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
|
14
|
+
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
|
15
|
+
**[] $VALUES;
|
|
16
|
+
public *;
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-fast-image",
|
|
3
|
-
"version": "8.18.
|
|
3
|
+
"version": "8.18.1",
|
|
4
4
|
"description": "🚩 FastImage, performant React Native image component.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cache",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"typings": "dist/index.d.ts",
|
|
25
25
|
"files": [
|
|
26
26
|
"android/build.gradle",
|
|
27
|
+
"android/consumer-rules.pro",
|
|
27
28
|
"android/src/main",
|
|
28
29
|
"ios/FastImage",
|
|
29
30
|
"ios/FastImage.xcodeproj/project.pbxproj",
|