浏览代码

ref: remove unused libs

master
Bettenbuk Zoltan 5 年前
父节点
当前提交
fe1187d7b7

+ 0
- 18
android/README.md 查看文件

207
 
207
 
208
 </details>
208
 </details>
209
 
209
 
210
-Starting with SDK version 1.22, a Glide module must be provided by the host app.
211
-This makes it possible to use the Glide image processing library from both the
212
-SDK and the host app itself.
213
-
214
-You can use the code in `JitsiGlideModule.java` and adjust the package name.
215
-When building, add the following code in your `app/build.gradle` file, adjusting
216
-the Glide version to match the one in https://github.com/jitsi/jitsi-meet/blob/master/android/build.gradle
217
-
218
-```
219
-// Glide
220
-implementation("com.github.bumptech.glide:glide:${glideVersion}") {
221
-    exclude group: "com.android.support", module: "glide"
222
-}
223
-implementation("com.github.bumptech.glide:annotations:${glideVersion}") {
224
-    exclude group: "com.android.support", module: "annotations"
225
-}
226
-```
227
-
228
 ### JitsiMeetActivity
210
 ### JitsiMeetActivity
229
 
211
 
230
 This class encapsulates a high level API in the form of an Android `FragmentActivity`
212
 This class encapsulates a high level API in the form of an Android `FragmentActivity`

+ 23
- 0
android/app/.project 查看文件

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>app</name>
4
+	<comment>Project app created by Buildship.</comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
22
+	</natures>
23
+</projectDescription>

+ 0
- 9
android/app/build.gradle 查看文件

88
 
88
 
89
     debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
89
     debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
90
     releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
90
     releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
91
-
92
-    // Glide
93
-    implementation("com.github.bumptech.glide:glide:${rootProject.ext.glideVersion}") {
94
-        exclude group: "com.android.support", module: "glide"
95
-    }
96
-    implementation("com.github.bumptech.glide:annotations:${rootProject.ext.glideVersion}") {
97
-        exclude group: "com.android.support", module: "annotations"
98
-    }
99
-    annotationProcessor "com.github.bumptech.glide:compiler:${rootProject.ext.glideVersion}"
100
 }
91
 }
101
 
92
 
102
 gradle.projectsEvaluated {
93
 gradle.projectsEvaluated {

+ 0
- 11
android/app/proguard-rules.pro 查看文件

62
 -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
62
 -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
63
 -dontwarn okio.**
63
 -dontwarn okio.**
64
 
64
 
65
-# FastImage + Glide
66
-
67
--keep public class com.dylanvann.fastimage.* {*;}
68
--keep public class com.dylanvann.fastimage.** {*;}
69
--keep public class * implements com.bumptech.glide.module.GlideModule
70
--keep public class * extends com.bumptech.glide.module.AppGlideModule
71
--keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
72
-  **[] $VALUES;
73
-  public *;
74
-}
75
-
76
 # WebRTC
65
 # WebRTC
77
 
66
 
78
 -keep class org.webrtc.** { *; }
67
 -keep class org.webrtc.** { *; }

+ 0
- 16
android/app/src/main/java/org/jitsi/meet/JitsiGlideModule.java 查看文件

1
-package org.jitsi.meet;
2
-
3
-import com.bumptech.glide.annotation.GlideModule;
4
-import com.bumptech.glide.module.AppGlideModule;
5
-
6
-/**
7
- * An AppGlideModule needs to be present for image loading events to work in
8
- * react-native-fast-image. However, if this is defined by the SDK it will cause trouble with
9
- * apps which are using Glide themselves.
10
- *
11
- * In order to avoid the problem, define a Jitsi Glide module here, so applications already using
12
- * it are not in trouble.
13
- */
14
-@GlideModule
15
-public final class JitsiGlideModule extends AppGlideModule {
16
-}

+ 0
- 4
android/build.gradle 查看文件

164
     mavenUser = System.env.MVN_USER ?: ""
164
     mavenUser = System.env.MVN_USER ?: ""
165
     mavenPassword = System.env.MVN_PASSWORD ?: ""
165
     mavenPassword = System.env.MVN_PASSWORD ?: ""
166
 
166
 
167
-    // Glide
168
-    excludeAppGlideModule = true
169
-    glideVersion = "4.7.1"  // keep in sync with react-native-fast-image
170
-
171
     // Libre build
167
     // Libre build
172
     libreBuild = (System.env.LIBRE_BUILD ?: "false").toBoolean()
168
     libreBuild = (System.env.LIBRE_BUILD ?: "false").toBoolean()
173
 }
169
 }

+ 23
- 0
android/sdk/.project 查看文件

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>sdk</name>
4
+	<comment>Project sdk created by Buildship.</comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
22
+	</natures>
23
+</projectDescription>

+ 0
- 3
android/sdk/build.gradle 查看文件

54
     implementation project(':react-native-background-timer')
54
     implementation project(':react-native-background-timer')
55
     implementation project(':react-native-calendar-events')
55
     implementation project(':react-native-calendar-events')
56
     implementation project(':react-native-community-async-storage')
56
     implementation project(':react-native-community-async-storage')
57
-    implementation(project(':react-native-fast-image')) {
58
-        exclude group: 'com.android.support'
59
-    }
60
     implementation project(':react-native-immersive')
57
     implementation project(':react-native-immersive')
61
     implementation project(':react-native-keep-awake')
58
     implementation project(':react-native-keep-awake')
62
     implementation project(':react-native-linear-gradient')
59
     implementation project(':react-native-linear-gradient')

+ 0
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java 查看文件

155
                 new com.BV.LinearGradient.LinearGradientPackage(),
155
                 new com.BV.LinearGradient.LinearGradientPackage(),
156
                 new com.calendarevents.CalendarEventsPackage(),
156
                 new com.calendarevents.CalendarEventsPackage(),
157
                 new com.corbt.keepawake.KCKeepAwakePackage(),
157
                 new com.corbt.keepawake.KCKeepAwakePackage(),
158
-                new com.dylanvann.fastimage.FastImageViewPackage(),
159
                 new com.facebook.react.shell.MainReactPackage(),
158
                 new com.facebook.react.shell.MainReactPackage(),
160
                 new com.oblador.vectoricons.VectorIconsPackage(),
159
                 new com.oblador.vectoricons.VectorIconsPackage(),
161
                 new com.ocetnik.timer.BackgroundTimerPackage(),
160
                 new com.ocetnik.timer.BackgroundTimerPackage(),

+ 0
- 2
android/settings.gradle 查看文件

7
 project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
7
 project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
8
 include ':react-native-community-async-storage'
8
 include ':react-native-community-async-storage'
9
 project(':react-native-community-async-storage').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/async-storage/android')
9
 project(':react-native-community-async-storage').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/async-storage/android')
10
-include ':react-native-fast-image'
11
-project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
12
 include ':react-native-google-signin'
10
 include ':react-native-google-signin'
13
 project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-signin/android')
11
 project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-signin/android')
14
 include ':react-native-immersive'
12
 include ':react-native-immersive'

+ 0
- 1
ios/Podfile 查看文件

39
 
39
 
40
   pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
40
   pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
41
   pod 'react-native-calendar-events', :path => '../node_modules/react-native-calendar-events'
41
   pod 'react-native-calendar-events', :path => '../node_modules/react-native-calendar-events'
42
-  pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'
43
   pod 'react-native-keep-awake', :path => '../node_modules/react-native-keep-awake'
42
   pod 'react-native-keep-awake', :path => '../node_modules/react-native-keep-awake'
44
   pod 'react-native-webview', :path => '../node_modules/react-native-webview'
43
   pod 'react-native-webview', :path => '../node_modules/react-native-webview'
45
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
44
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'

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

12309
         "jssha": "^2.2.0"
12309
         "jssha": "^2.2.0"
12310
       }
12310
       }
12311
     },
12311
     },
12312
-    "react-native-fast-image": {
12313
-      "version": "5.1.1",
12314
-      "resolved": "https://registry.npmjs.org/react-native-fast-image/-/react-native-fast-image-5.1.1.tgz",
12315
-      "integrity": "sha512-kEzgZxbbXYhy27u5GnhrKitn+XDBFAHSDUJdYC6llMi5cDPjgcqhOAQABj0K+ga5pn+/xPZLmD882rrUGiwVVA=="
12316
-    },
12317
     "react-native-google-signin": {
12312
     "react-native-google-signin": {
12318
       "version": "2.0.0",
12313
       "version": "2.0.0",
12319
       "resolved": "https://registry.npmjs.org/react-native-google-signin/-/react-native-google-signin-2.0.0.tgz",
12314
       "resolved": "https://registry.npmjs.org/react-native-google-signin/-/react-native-google-signin-2.0.0.tgz",
16954
         "string-width": "^1.0.2 || 2"
16949
         "string-width": "^1.0.2 || 2"
16955
       }
16950
       }
16956
     },
16951
     },
16952
+    "windows-iana": {
16953
+      "version": "3.1.0",
16954
+      "resolved": "https://registry.npmjs.org/windows-iana/-/windows-iana-3.1.0.tgz",
16955
+      "integrity": "sha512-rCPf3AakAAgvapnbYVvG2bQyI3g6EDbPpjDJ72fdAu+XTzB1qvX4ZC6OnZ0I2+thaspjTb+8KwdyhdBl8Lt/QA=="
16956
+    },
16957
     "wordwrap": {
16957
     "wordwrap": {
16958
       "version": "1.0.0",
16958
       "version": "1.0.0",
16959
       "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
16959
       "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",

+ 0
- 1
package.json 查看文件

69
     "react-native-background-timer": "2.1.1",
69
     "react-native-background-timer": "2.1.1",
70
     "react-native-calendar-events": "1.6.4",
70
     "react-native-calendar-events": "1.6.4",
71
     "react-native-callstats": "3.58.2",
71
     "react-native-callstats": "3.58.2",
72
-    "react-native-fast-image": "5.1.1",
73
     "react-native-google-signin": "2.0.0",
72
     "react-native-google-signin": "2.0.0",
74
     "react-native-immersive": "2.0.0",
73
     "react-native-immersive": "2.0.0",
75
     "react-native-keep-awake": "4.0.0",
74
     "react-native-keep-awake": "4.0.0",

正在加载...
取消
保存