瀏覽代碼

android, ios: update react-native-fast-image dependency

j8
Saúl Ibarra Corretgé 6 年之前
父節點
當前提交
0031fd2678
共有 5 個檔案被更改,包括 17 行新增12 行删除
  1. 8
    1
      android/app/proguard-rules.pro
  2. 1
    1
      android/build.gradle
  3. 4
    4
      ios/Podfile.lock
  4. 3
    5
      package-lock.json
  5. 1
    1
      package.json

+ 8
- 1
android/app/proguard-rules.pro 查看文件

@@ -65,9 +65,16 @@
65 65
 -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
66 66
 -dontwarn okio.**
67 67
 
68
-# FastImage
68
+# FastImage + Glide
69 69
 
70
+-keep public class com.dylanvann.fastimage.* {*;}
70 71
 -keep public class com.dylanvann.fastimage.** {*;}
72
+-keep public class * implements com.bumptech.glide.module.GlideModule
73
+-keep public class * extends com.bumptech.glide.module.AppGlideModule
74
+-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
75
+  **[] $VALUES;
76
+  public *;
77
+}
71 78
 
72 79
 # We added the following when we switched minifyEnabled on. Probably because we
73 80
 # ran the app and hit problems...

+ 1
- 1
android/build.gradle 查看文件

@@ -79,7 +79,7 @@ allprojects {
79 79
             else if ('react-native-calendar-events' == project.name)
80 80
                 versionQualifier = '-jitsi-1' // 056807286da610d884fb6b4c8ca187a767b261f7 + react-native 0.57
81 81
             else if ('react-native-fast-image' == project.name)
82
-                versionQualifier = '-jitsi-1' // 1f8c93a5584869848d75cc9b946beb9688efe285 + react-native 0.57
82
+                versionQualifier = '-jitsi-2' // 5.1.1 + react-native 0.57
83 83
             else if ('react-native-google-signin' == project.name)
84 84
                 versionQualifier = '-jitsi-1' // 1.0.0-rc6 + react-native 0.57
85 85
             else if ('react-native-immersive' == project.name)

+ 4
- 4
ios/Podfile.lock 查看文件

@@ -27,7 +27,7 @@ PODS:
27 27
     - React
28 28
   - react-native-calendar-events (1.6.3):
29 29
     - React
30
-  - react-native-fast-image (4.0.14):
30
+  - react-native-fast-image (5.1.1):
31 31
     - FLAnimatedImage
32 32
     - React
33 33
     - SDWebImage/Core
@@ -85,8 +85,8 @@ PODS:
85 85
     - React/Core
86 86
   - RNVectorIcons (6.0.2):
87 87
     - React
88
-  - SDWebImage/Core (4.4.2)
89
-  - SDWebImage/GIF (4.4.2):
88
+  - SDWebImage/Core (4.4.3)
89
+  - SDWebImage/GIF (4.4.3):
90 90
     - FLAnimatedImage (~> 1.0)
91 91
     - SDWebImage/Core
92 92
   - yoga (0.57.6.React)
@@ -173,7 +173,7 @@ SPEC CHECKSUMS:
173 173
   RNGoogleSignin: 44debd8c359a662c0e2d585952e88b985bf78008
174 174
   RNSound: b360b3862d3118ed1c74bb9825696b5957686ac4
175 175
   RNVectorIcons: 8c52e1e8da1153613fdef44748e865c25556cb9c
176
-  SDWebImage: 624d6e296c69b244bcede364c72ae0430ac14681
176
+  SDWebImage: c5594f1a19c48d526d321e548902b56b479cd508
177 177
   yoga: b1ce48b6cf950b98deae82838f5173ea7cf89e85
178 178
 
179 179
 PODFILE CHECKSUM: 2fa79bc1fe2fe42efb63895fdb0cb84d5f578884

+ 3
- 5
package-lock.json 查看文件

@@ -11532,11 +11532,9 @@
11532 11532
       }
11533 11533
     },
11534 11534
     "react-native-fast-image": {
11535
-      "version": "github:jitsi/react-native-fast-image#1f8c93a5584869848d75cc9b946beb9688efe285",
11536
-      "from": "github:jitsi/react-native-fast-image#1f8c93a5584869848d75cc9b946beb9688efe285",
11537
-      "requires": {
11538
-        "prop-types": "^15.5.10"
11539
-      }
11535
+      "version": "5.1.1",
11536
+      "resolved": "https://registry.npmjs.org/react-native-fast-image/-/react-native-fast-image-5.1.1.tgz",
11537
+      "integrity": "sha512-kEzgZxbbXYhy27u5GnhrKitn+XDBFAHSDUJdYC6llMi5cDPjgcqhOAQABj0K+ga5pn+/xPZLmD882rrUGiwVVA=="
11540 11538
     },
11541 11539
     "react-native-google-signin": {
11542 11540
       "version": "1.0.0-rc6",

+ 1
- 1
package.json 查看文件

@@ -66,7 +66,7 @@
66 66
     "react-native-background-timer": "2.0.0",
67 67
     "react-native-calendar-events": "github:wmcmahan/react-native-calendar-events#056807286da610d884fb6b4c8ca187a767b261f7",
68 68
     "react-native-callstats": "3.53.4",
69
-    "react-native-fast-image": "github:jitsi/react-native-fast-image#1f8c93a5584869848d75cc9b946beb9688efe285",
69
+    "react-native-fast-image": "5.1.1",
70 70
     "react-native-google-signin": "1.0.0-rc6",
71 71
     "react-native-immersive": "1.1.0",
72 72
     "react-native-keep-awake": "2.0.6",

Loading…
取消
儲存