diff --git a/android/README.md b/android/README.md index 30f794d95..3b4664693 100644 --- a/android/README.md +++ b/android/README.md @@ -43,16 +43,6 @@ Add the Maven repository `https://github.com/jitsi/jitsi-maven-repository/raw/master/releases` and the dependency `org.jitsi.react:jitsi-meet-sdk:1.9.0` into your `build.gradle`. -Add Java 1.8 compatibility support to your project by adding the following lines -into your `build.gradle` file: - -``` -compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 -} -``` - ## API Jitsi Meet SDK is an Android library which embodies the whole Jitsi Meet diff --git a/android/app/build.gradle b/android/app/build.gradle index 017b855e3..d39edca60 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -31,10 +31,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } } dependencies { diff --git a/package-lock.json b/package-lock.json index ff28819f1..e8e760ecc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9938,7 +9938,7 @@ } }, "react-native-webrtc": { - "version": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd", + "version": "github:jitsi/react-native-webrtc#626818af40384356617f70366133317b6a475171", "requires": { "base64-js": "1.2.3", "event-target-shim": "1.1.1", diff --git a/package.json b/package.json index 14f613724..f82e16a19 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc", "react-native-prompt": "1.0.0", "react-native-vector-icons": "4.4.2", - "react-native-webrtc": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd", + "react-native-webrtc": "github:jitsi/react-native-webrtc#626818af40384356617f70366133317b6a475171", "react-redux": "5.0.6", "redux": "3.7.2", "redux-thunk": "2.2.0", diff --git a/react/features/base/lib-jitsi-meet/native/RTCPeerConnection.js b/react/features/base/lib-jitsi-meet/native/RTCPeerConnection.js index 280881963..0a001b194 100644 --- a/react/features/base/lib-jitsi-meet/native/RTCPeerConnection.js +++ b/react/features/base/lib-jitsi-meet/native/RTCPeerConnection.js @@ -161,7 +161,6 @@ function _makePromiseAware( afterCallbacks: number) { return function(...args) { return new Promise((resolve, reject) => { - if (args.length <= beforeCallbacks + afterCallbacks) { args.splice(beforeCallbacks, 0, resolve, reject); }