Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(android) drop jcenter

Saúl Ibarra Corretgé70b8bb7cbdcb
diff --git a/android/build.gradle b/android/build.gradle
index f2c7a72e17..0d1536df63 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -43,20 +43,19 @@ ext {
allprojects {
repositories {
- mavenCentral()
- google()
// React Native (JS, Obj-C sources, Android binaries) is installed from npm.
maven { url "$rootDir/../node_modules/react-native/android" }
// Android JSC is installed from npm.
maven { url("$rootDir/../node_modules/jsc-android/dist") }
- maven { url 'https://www.jitpack.io' }
- // https://github.com/react-native-video/react-native-video/issues/2454
- //noinspection JcenterRepositoryObsolete
- jcenter() {
+ mavenCentral {
+ // We don't want to fetch react-native from Maven Central as there are
+ // older versions over there.
content {
- includeModule("com.yqritc", "android-scalablevideoview")
+ excludeGroup "com.facebook.react"
}
}
+ google()
+ maven { url 'https://www.jitpack.io' }
}
// Make sure we use the react-native version in node_modules and not the one
diff --git a/package-lock.json b/package-lock.json
index 69e1c94b4f..0e8a14ba27 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -104,7 +104,7 @@
"react-native-svg-transformer": "1.0.0",
"react-native-tab-view": "3.1.1",
"react-native-url-polyfill": "1.3.0",
- "react-native-video": "5.2.0",
+ "react-native-video": "github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"react-native-watch-connectivity": "1.0.4",
"react-native-webrtc": "1.94.1",
"react-native-webview": "11.15.1",
@@ -15654,8 +15654,9 @@
},
"node_modules/react-native-video": {
"version": "5.2.0",
- "resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-5.2.0.tgz",
- "integrity": "sha512-5SK1lxyzrCkZF+WuxUxLR1Pt65E0rsWB1w1GrGxSLdC9zWYBumcmuHl+wPJ7UQvznjaH2Ze7uU1R3arejI7+WQ==",
+ "resolved": "git+ssh://[email protected]/jitsi/react-native-video.git#4f6dad990d17ce42894df993780b5386a9c11b85",
+ "integrity": "sha512-zA5KlpwZfuU9DkI62xkCRcUqvLZG30z5Ac00NZ3gbxqQF60PK/FEGyM8lB5QBsjt0ZlAYgUh2q+snAU7HgN/yQ==",
+ "license": "MIT",
"dependencies": {
"keymirror": "^0.1.1",
"prop-types": "^15.7.2",
@@ -31899,9 +31900,9 @@
}
},
"react-native-video": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-5.2.0.tgz",
- "integrity": "sha512-5SK1lxyzrCkZF+WuxUxLR1Pt65E0rsWB1w1GrGxSLdC9zWYBumcmuHl+wPJ7UQvznjaH2Ze7uU1R3arejI7+WQ==",
+ "version": "git+ssh://[email protected]/jitsi/react-native-video.git#4f6dad990d17ce42894df993780b5386a9c11b85",
+ "integrity": "sha512-zA5KlpwZfuU9DkI62xkCRcUqvLZG30z5Ac00NZ3gbxqQF60PK/FEGyM8lB5QBsjt0ZlAYgUh2q+snAU7HgN/yQ==",
+ "from": "react-native-video@github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"requires": {
"keymirror": "^0.1.1",
"prop-types": "^15.7.2",
diff --git a/package.json b/package.json
index 10e002167e..cb979cf2c9 100644
--- a/package.json
+++ b/package.json
@@ -109,7 +109,7 @@
"react-native-svg-transformer": "1.0.0",
"react-native-tab-view": "3.1.1",
"react-native-url-polyfill": "1.3.0",
- "react-native-video": "5.2.0",
+ "react-native-video": "github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"react-native-watch-connectivity": "1.0.4",
"react-native-webrtc": "1.94.1",
"react-native-webview": "11.15.1",