Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
deps: update react-native-immersive
Saúl Ibarra Corretgé1e83891a7041
diff --git a/android/build.gradle b/android/build.gradleindex 7ea5f5546c..6bdc456622 100644--- a/android/build.gradle+++ b/android/build.gradle@@ -84,7 +84,7 @@ allprojects {else if ('react-native-google-signin' == project.name)versionQualifier = '-jitsi-2' // 1.0.2 + react-native 0.57else if ('react-native-immersive' == project.name)- versionQualifier = '-jitsi-4' // 1.1.0 + react-native 0.57+ versionQualifier = '-jitsi-5' // 2.0.0 + react-native 0.57else if ('react-native-keep-awake' == project.name)versionQualifier = '-jitsi-4' // 4.0.0 + react-native 0.57else if ('react-native-linear-gradient' == project.name)diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.javaindex b9bdb18d7b..7df8415327 100644--- a/android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.java+++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.java@@ -1,5 +1,6 @@/*- * Copyright @ 2018-present Atlassian Pty Ltd+ * Copyright @ 2018-present 8x8, Inc.+ * Copyright @ 2018 Atlassian Pty Ltd** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.@@ -21,7 +22,6 @@ import android.content.Context;import android.os.Bundle;import android.support.annotation.NonNull;import android.support.annotation.Nullable;-import android.util.Log;import android.widget.FrameLayout;import com.facebook.react.ReactRootView;@@ -194,29 +194,10 @@ public abstract class BaseReactView<ListenerT>super.onWindowFocusChanged(hasFocus);// https://github.com/mockingbot/react-native-immersive#restore-immersive-state-- // FIXME The singleton pattern employed by RNImmersiveModule is not- // advisable because a react-native mobule is consumable only after its- // BaseJavaModule#initialize() has completed and here we have no- // knowledge of whether the precondition is really met.RNImmersiveModule immersive = RNImmersiveModule.getInstance();if (hasFocus && immersive != null) {- try {- immersive.emitImmersiveStateChangeEvent();- } catch (RuntimeException re) {- // FIXME I don't know how to check myself whether- // BaseJavaModule#initialize() has been invoked and thus- // RNImmersiveModule is consumable. A safe workaround is to- // swallow the failure because the whole full-screen/immersive- // functionality is brittle anyway, akin to the icing on the- // cake, and has been working without onWindowFocusChanged for a- // very long time.- Log.e(- "RNImmersiveModule",- "emitImmersiveStateChangeEvent() failed!",- re);- }+ immersive.emitImmersiveStateChangeEvent();}}diff --git a/package-lock.json b/package-lock.jsonindex 2c276cd853..bdbaecae9b 100644--- a/package-lock.json+++ b/package-lock.json@@ -11288,9 +11288,9 @@"integrity": "sha512-4HPPSecI29gX0Pu7h2E7ZYXnKO4r+6eh5f+Unm67liE1RfvCQfOqoDliPbK96Mb/91VgHwqyxi0sUEC4j54/AQ=="},"react-native-immersive": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/react-native-immersive/-/react-native-immersive-1.1.0.tgz",- "integrity": "sha512-U7KPW0xE/E7j5z+haUbgxSyrHHIe/I4t4y9WWN9puTHsX3R5mDEjpUF+eEYr9yHKEOegRZzUic7rnajUn/6VDQ=="+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/react-native-immersive/-/react-native-immersive-2.0.0.tgz",+ "integrity": "sha512-9TL05nTHN/x9sN1wbUlBoGyzH4NCuZ/7WEEUp5CvOoKuUABvdYosov0O0SAMbm/5J913RRoy98VB6tGNi9lRSw=="},"react-native-keep-awake": {"version": "4.0.0",diff --git a/package.json b/package.jsonindex 4de0c3e591..fe8b85d71d 100644--- a/package.json+++ b/package.json@@ -68,7 +68,7 @@"react-native-callstats": "3.53.4","react-native-fast-image": "5.1.1","react-native-google-signin": "1.0.2",- "react-native-immersive": "1.1.0",+ "react-native-immersive": "2.0.0","react-native-keep-awake": "4.0.0","react-native-linear-gradient": "2.4.0","react-native-sound": "0.10.9",