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
feat(mobile/navigation) - updated to native stack navigators
Calin Chitufc725c07e913
diff --git a/package-lock.json b/package-lock.jsonindex de9c979d65..30ea1f2365 100644--- a/package-lock.json+++ b/package-lock.json@@ -49,6 +49,7 @@"@react-navigation/elements": "1.2.1","@react-navigation/material-top-tabs": "6.0.6","@react-navigation/native": "6.0.6",+ "@react-navigation/native-stack": "6.6.2","@react-navigation/stack": "6.0.11","@svgr/webpack": "4.3.2","@tensorflow/tfjs-backend-wasm": "3.13.0",@@ -5021,6 +5022,33 @@"react-native": "*"}},+ "node_modules/@react-navigation/native-stack": {+ "version": "6.6.2",+ "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.6.2.tgz",+ "integrity": "sha512-pFMuzhxbPml5MBvJVAzHWoaUkQaefAOKpuUnAs/AxNQuHQwwnxRmDit1PQLuIPo7g7DlfwFXagDHE1R0tbnS8Q==",+ "dependencies": {+ "@react-navigation/elements": "^1.3.3",+ "warn-once": "^0.1.0"+ },+ "peerDependencies": {+ "@react-navigation/native": "^6.0.0",+ "react": "*",+ "react-native": "*",+ "react-native-safe-area-context": ">= 3.0.0",+ "react-native-screens": ">= 3.0.0"+ }+ },+ "node_modules/@react-navigation/native-stack/node_modules/@react-navigation/elements": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.3.tgz",+ "integrity": "sha512-Lv2lR7si5gNME8dRsqz57d54m4FJtrwHRjNQLOyQO546ZxO+g864cSvoLC6hQedQU0+IJnPTsZiEI2hHqfpEpw==",+ "peerDependencies": {+ "@react-navigation/native": "^6.0.0",+ "react": "*",+ "react-native": "*",+ "react-native-safe-area-context": ">= 3.0.0"+ }+ },"node_modules/@react-navigation/routers": {"version": "6.1.0","resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.0.tgz",@@ -23713,6 +23741,22 @@"nanoid": "^3.1.23"}},+ "@react-navigation/native-stack": {+ "version": "6.6.2",+ "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-6.6.2.tgz",+ "integrity": "sha512-pFMuzhxbPml5MBvJVAzHWoaUkQaefAOKpuUnAs/AxNQuHQwwnxRmDit1PQLuIPo7g7DlfwFXagDHE1R0tbnS8Q==",+ "requires": {+ "@react-navigation/elements": "^1.3.3",+ "warn-once": "^0.1.0"+ },+ "dependencies": {+ "@react-navigation/elements": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.3.tgz",+ "integrity": "sha512-Lv2lR7si5gNME8dRsqz57d54m4FJtrwHRjNQLOyQO546ZxO+g864cSvoLC6hQedQU0+IJnPTsZiEI2hHqfpEpw=="+ }+ }+ },"@react-navigation/routers": {"version": "6.1.0","resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.0.tgz",diff --git a/package.json b/package.jsonindex cdac852d85..7189ed4350 100644--- a/package.json+++ b/package.json@@ -54,6 +54,7 @@"@react-navigation/elements": "1.2.1","@react-navigation/material-top-tabs": "6.0.6","@react-navigation/native": "6.0.6",+ "@react-navigation/native-stack": "6.6.2","@react-navigation/stack": "6.0.11","@svgr/webpack": "4.3.2","@tensorflow/tfjs-backend-wasm": "3.13.0",diff --git a/react/features/mobile/navigation/components/RootNavigationContainer.js b/react/features/mobile/navigation/components/RootNavigationContainer.jsindex 362a25fcce..9ce41b2d70 100644--- a/react/features/mobile/navigation/components/RootNavigationContainer.js+++ b/react/features/mobile/navigation/components/RootNavigationContainer.js@@ -1,5 +1,5 @@import { NavigationContainer } from '@react-navigation/native';-import { createStackNavigator } from '@react-navigation/stack';+import { createNativeStackNavigator } from '@react-navigation/native-stack';import React, { useCallback } from 'react';import { connect } from '../../../base/redux';@@ -19,7 +19,7 @@ import ConferenceNavigationContainerimport WelcomePageNavigationContainer from './welcome/components/WelcomePageNavigationContainer';import { isWelcomePageAppEnabled } from './welcome/functions';-const RootStack = createStackNavigator();+const RootStack = createNativeStackNavigator();type Props = {diff --git a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsxindex b4b0fdf532..94a514b21e 100644--- a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx+++ b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx@@ -1,5 +1,5 @@import { NavigationContainer } from '@react-navigation/native';-import { createStackNavigator } from '@react-navigation/stack';+import { createNativeStackNavigator } from '@react-navigation/native-stack';import React from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';@@ -45,7 +45,7 @@ import {conferenceNavigationRef} from '../ConferenceNavigationContainerRef';-const ConferenceStack = createStackNavigator();+const ConferenceStack = createNativeStackNavigator();const ConferenceNavigationContainer = () => {const isPollsDisabled = useSelector(getDisablePolls);@@ -164,4 +164,4 @@ const ConferenceNavigationContainer = () => {);};-export default ConferenceNavigationContainer;\ No newline at end of file+export default ConferenceNavigationContainer;diff --git a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.jsindex 12c66898ba..340f7bb5e8 100644--- a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js+++ b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js@@ -1,5 +1,5 @@import { NavigationContainer } from '@react-navigation/native';-import { createStackNavigator } from '@react-navigation/stack';+import { createNativeStackNavigator } from '@react-navigation/native-stack';import React from 'react';import { useSelector } from 'react-redux';@@ -12,7 +12,7 @@ import {} from '../../../screenOptions';import { lobbyNavigationContainerRef } from '../LobbyNavigationContainerRef';-const LobbyStack = createStackNavigator();+const LobbyStack = createNativeStackNavigator();const LobbyNavigationContainer = () => {