Sfoglia il codice sorgente

ref: remove unused libs

j8
Bettenbuk Zoltan 5 anni fa
parent
commit
fe1187d7b7

+ 0
- 18
android/README.md Vedi File

@@ -207,24 +207,6 @@ public class MainActivity extends FragmentActivity implements JitsiMeetActivityI
207 207
 
208 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 210
 ### JitsiMeetActivity
229 211
 
230 212
 This class encapsulates a high level API in the form of an Android `FragmentActivity`

+ 23
- 0
android/app/.project Vedi File

@@ -0,0 +1,23 @@
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 Vedi File

@@ -88,15 +88,6 @@ dependencies {
88 88
 
89 89
     debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
90 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 93
 gradle.projectsEvaluated {

+ 0
- 11
android/app/proguard-rules.pro Vedi File

@@ -62,17 +62,6 @@
62 62
 -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
63 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 65
 # WebRTC
77 66
 
78 67
 -keep class org.webrtc.** { *; }

+ 0
- 16
android/app/src/main/java/org/jitsi/meet/JitsiGlideModule.java Vedi File

@@ -1,16 +0,0 @@
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 Vedi File

@@ -164,10 +164,6 @@ ext {
164 164
     mavenUser = System.env.MVN_USER ?: ""
165 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 167
     // Libre build
172 168
     libreBuild = (System.env.LIBRE_BUILD ?: "false").toBoolean()
173 169
 }

+ 23
- 0
android/sdk/.project Vedi File

@@ -0,0 +1,23 @@
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 Vedi File

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

+ 0
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java Vedi File

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

+ 0
- 2
android/settings.gradle Vedi File

@@ -7,8 +7,6 @@ include ':react-native-calendar-events'
7 7
 project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
8 8
 include ':react-native-community-async-storage'
9 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 10
 include ':react-native-google-signin'
13 11
 project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-signin/android')
14 12
 include ':react-native-immersive'

+ 0
- 1
ios/Podfile Vedi File

@@ -39,7 +39,6 @@ target 'JitsiMeet' do
39 39
 
40 40
   pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
41 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 42
   pod 'react-native-keep-awake', :path => '../node_modules/react-native-keep-awake'
44 43
   pod 'react-native-webview', :path => '../node_modules/react-native-webview'
45 44
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'

+ 5
- 5
package-lock.json Vedi File

@@ -12309,11 +12309,6 @@
12309 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 12312
     "react-native-google-signin": {
12318 12313
       "version": "2.0.0",
12319 12314
       "resolved": "https://registry.npmjs.org/react-native-google-signin/-/react-native-google-signin-2.0.0.tgz",
@@ -16954,6 +16949,11 @@
16954 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 16957
     "wordwrap": {
16958 16958
       "version": "1.0.0",
16959 16959
       "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",

+ 0
- 1
package.json Vedi File

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

Loading…
Annulla
Salva