Skip to content

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

dep(@react-navigation): update to latest (#17757)

Calinteodorf6a0035aed50
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index 98dfc54ada..2f85c0824c 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -2059,7 +2059,7 @@ PODS:
- Yoga
- react-native-orientation-locker (1.7.0):
- React-Core
- - react-native-pager-view (8.0.3):
+ - react-native-pager-view (8.0.5):
- boost
- DoubleConversion
- fast_float
@@ -2116,7 +2116,7 @@ PODS:
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- - react-native-safe-area-context (5.6.1):
+ - react-native-safe-area-context (5.9.1):
- boost
- DoubleConversion
- fast_float
@@ -2134,8 +2134,8 @@ PODS:
- React-graphics
- React-ImageManager
- React-jsi
- - react-native-safe-area-context/common (= 5.6.1)
- - react-native-safe-area-context/fabric (= 5.6.1)
+ - react-native-safe-area-context/common (= 5.9.1)
+ - react-native-safe-area-context/fabric (= 5.9.1)
- React-NativeModulesApple
- React-RCTFabric
- React-renderercss
@@ -2146,7 +2146,7 @@ PODS:
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- - react-native-safe-area-context/common (5.6.1):
+ - react-native-safe-area-context/common (5.9.1):
- boost
- DoubleConversion
- fast_float
@@ -2174,7 +2174,7 @@ PODS:
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- - react-native-safe-area-context/fabric (5.6.1):
+ - react-native-safe-area-context/fabric (5.9.1):
- boost
- DoubleConversion
- fast_float
@@ -3027,7 +3027,7 @@ PODS:
- React-Core
- RNDeviceInfo (14.1.1):
- React-Core
- - RNGestureHandler (3.0.0):
+ - RNGestureHandler (3.2.1):
- boost
- DoubleConversion
- fast_float
@@ -3058,7 +3058,7 @@ PODS:
- RNGoogleSignin (10.1.0):
- GoogleSignIn (~> 7.0)
- React-Core
- - RNScreens (4.17.1):
+ - RNScreens (4.23.0):
- boost
- DoubleConversion
- fast_float
@@ -3085,10 +3085,10 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- - RNScreens/common (= 4.17.1)
+ - RNScreens/common (= 4.23.0)
- SocketRocket
- Yoga
- - RNScreens/common (4.17.1):
+ - RNScreens/common (4.23.0):
- boost
- DoubleConversion
- fast_float
@@ -3655,9 +3655,9 @@ SPEC CHECKSUMS:
react-native-keep-awake: 129cb4bd75d0f304a479b4c4527d2994fe18e43c
react-native-netinfo: 57447b5a45c98808f8eae292cf641f3d91d13830
react-native-orientation-locker: cc6f357b289a2e0dd2210fea0c52cb8e0727fdaa
- react-native-pager-view: 05683d783242b28d372d6fde6c11605b1c24e140
+ react-native-pager-view: 8e26c20fc7bb3053e8a6895e888b26ae65299307
react-native-performance: b48d1aba7501a54af5e1a7efb0dab1ab25dc734f
- react-native-safe-area-context: c6e2edd1c1da07bdce287fa9d9e60c5f7b514616
+ react-native-safe-area-context: 6cf08f4151132f9cf2adb948dc6c4ac387f8d30f
react-native-screen-corner-radius: ebd0d3258fcc894571b41d25ee3db7569d375153
react-native-slider: 34064ca1a6864d7b263e44dd76a2d794e8d26744
react-native-video: ce907959c67ad2abaa0411082db621036944737a
@@ -3702,9 +3702,9 @@ SPEC CHECKSUMS:
RNCClipboard: 4b58c780f63676367640f23c8e114e9bd0cf86ac
RNDefaultPreference: ee13d69e6693d193cd223d10e15e5b3c012d31ba
RNDeviceInfo: bcce8752b5043a623fe3c26789679b473f705d3c
- RNGestureHandler: 8f606e053c7823429953e994c8feab9f3f57be7f
+ RNGestureHandler: a99489f6311d5e15dff575db28abc8f4e7a7802a
RNGoogleSignin: 30e1aee80140dc0706cd78a4951c411376c88329
- RNScreens: 833237c48c756d40764540246a501b47dadb2cac
+ RNScreens: afaf526a9c804c3b4503f950cf3e67ed81e29ada
RNSound: b6bd5e049ad15c0b03f9dda1f817d0bb1d5e87cb
RNSVG: 9037a5826c3e0ad3f7e2aee7607b64d6710f048e
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
diff --git a/package-lock.json b/package-lock.json
index d86e82f770..dbc76b710b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -32,11 +32,11 @@
"@react-native-community/netinfo": "11.5.2",
"@react-native-community/slider": "5.1.2",
"@react-native-google-signin/google-signin": "10.1.0",
- "@react-navigation/bottom-tabs": "6.6.1",
- "@react-navigation/elements": "1.3.31",
- "@react-navigation/material-top-tabs": "6.6.14",
- "@react-navigation/native": "6.1.18",
- "@react-navigation/stack": "6.4.1",
+ "@react-navigation/bottom-tabs": "7.18.17",
+ "@react-navigation/elements": "2.9.39",
+ "@react-navigation/material-top-tabs": "7.6.16",
+ "@react-navigation/native": "7.3.17",
+ "@react-navigation/stack": "7.10.23",
"@sayem314/react-native-keep-awake": "1.4.0",
"@stomp/stompjs": "7.0.0",
"@svgr/webpack": "6.3.1",
@@ -89,20 +89,20 @@
"react-native-default-preference": "https://github.com/jitsi/react-native-default-preference.git#c9bf63bdc058e3fa2aa0b87b1ee1af240f44ed02",
"react-native-device-info": "14.1.1",
"react-native-dialog": "https://github.com/jitsi/react-native-dialog/releases/download/v9.2.2-jitsi.1/react-native-dialog-9.2.2.tgz",
- "react-native-gesture-handler": "3.0.0",
+ "react-native-gesture-handler": "3.2.1",
"react-native-get-random-values": "1.11.0",
"react-native-orientation-locker": "https://github.com/jitsi/react-native-orientation-locker.git#0c42e6f8e9d86397b14b3f03f0ed9b2b73211333",
- "react-native-pager-view": "8.0.3",
+ "react-native-pager-view": "8.0.5",
"react-native-paper": "5.14.5",
"react-native-performance": "6.0.0",
- "react-native-safe-area-context": "5.6.1",
+ "react-native-safe-area-context": "5.9.1",
"react-native-screen-corner-radius": "0.2.3",
- "react-native-screens": "4.17.1",
+ "react-native-screens": "4.23.0",
"react-native-sound": "https://github.com/jitsi/react-native-sound.git#bc92152667a628120374c1324fc9e44f697c3192",
"react-native-splash-view": "0.0.18",
"react-native-svg": "15.15.5",
"react-native-svg-transformer": "1.2.0",
- "react-native-tab-view": "3.5.2",
+ "react-native-tab-view": "4.3.2",
"react-native-url-polyfill": "2.0.0",
"react-native-video": "6.19.1",
"react-native-webrtc": "124.0.8",
@@ -5744,21 +5744,21 @@
}
},
"node_modules/@react-navigation/bottom-tabs": {
- "version": "6.6.1",
- "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.6.1.tgz",
- "integrity": "sha512-9oD4cypEBjPuaMiu9tevWGiQ4w/d6l3HNhcJ1IjXZ24xvYDSs0mqjUcdt8SWUolCvRrYc/DmNBLlT83bk0bHTw==",
+ "version": "7.18.17",
+ "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.18.17.tgz",
+ "integrity": "sha512-/e3gKQUy374YsYpmsKTwq8RpMTbxcKpgcr9+Q8+c9FHYd2pwtUY3/zGkaoo0FBSrDlpan1YyOQ+m5LQTqDUpBA==",
"license": "MIT",
"dependencies": {
- "@react-navigation/elements": "^1.3.31",
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "sf-symbols-typescript": "^2.1.0"
},
"peerDependencies": {
- "@react-navigation/native": "^6.0.0",
- "react": "*",
+ "@react-navigation/native": "^7.3.17",
+ "react": ">= 18.2.0",
"react-native": "*",
- "react-native-safe-area-context": ">= 3.0.0",
- "react-native-screens": ">= 3.0.0"
+ "react-native-safe-area-context": ">= 4.0.0",
+ "react-native-screens": ">= 4.0.0"
}
},
"node_modules/@react-navigation/bottom-tabs/node_modules/color": {
@@ -5790,64 +5790,100 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/@react-navigation/core": {
- "version": "6.4.17",
- "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.4.17.tgz",
- "integrity": "sha512-Nd76EpomzChWAosGqWOYE3ItayhDzIEzzZsT7PfGcRFDgW5miHV2t4MZcq9YIK4tzxZjVVpYbIynOOQQd1e0Cg==",
+ "version": "7.21.13",
+ "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.21.13.tgz",
+ "integrity": "sha512-d1syMXra7RlJjGsjsIxEA14F6U+awFtQJeOfDc+V7x3y1mPqYQVTYnqnt3PR+fBBouUKaKsgKZsSR3MP5919Xg==",
"license": "MIT",
"dependencies": {
- "@react-navigation/routers": "^6.1.9",
+ "@react-navigation/routers": "^7.6.4",
"escape-string-regexp": "^4.0.0",
- "nanoid": "^3.1.23",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^3.3.11",
"query-string": "^7.1.3",
- "react-is": "^16.13.0",
- "use-latest-callback": "^0.2.1"
+ "react-is": "^19.1.0",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
},
"peerDependencies": {
- "react": "*"
+ "react": ">= 18.2.0"
}
},
"node_modules/@react-navigation/core/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "version": "19.2.8",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.8.tgz",
+ "integrity": "sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ==",
"license": "MIT"
},
- "node_modules/@react-navigation/core/node_modules/use-latest-callback": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
- "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==",
+ "node_modules/@react-navigation/elements": {
+ "version": "2.9.39",
+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.39.tgz",
+ "integrity": "sha512-XWgWIyMDZ0yjTP0aLbi2y+VID/3giOLEqtdpMfNTOQf8F5rdM49PWgUBZSlZ4b5VWL/eTIo5VNOsRon26OEiFA==",
"license": "MIT",
+ "dependencies": {
+ "color": "^4.2.3",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
+ },
"peerDependencies": {
- "react": ">=16.8"
+ "@react-native-masked-view/masked-view": ">= 0.2.0",
+ "@react-navigation/native": "^7.3.17",
+ "react": ">= 18.2.0",
+ "react-native": "*",
+ "react-native-safe-area-context": ">= 4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@react-native-masked-view/masked-view": {
+ "optional": true
+ }
}
},
- "node_modules/@react-navigation/elements": {
- "version": "1.3.31",
- "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.31.tgz",
- "integrity": "sha512-bUzP4Awlljx5RKEExw8WYtif8EuQni2glDaieYROKTnaxsu9kEIA515sXQgUDZU4Ob12VoL7+z70uO3qrlfXcQ==",
+ "node_modules/@react-navigation/elements/node_modules/color": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
"license": "MIT",
- "peerDependencies": {
- "@react-navigation/native": "^6.0.0",
- "react": "*",
- "react-native": "*",
- "react-native-safe-area-context": ">= 3.0.0"
+ "dependencies": {
+ "color-convert": "^2.0.1",
+ "color-string": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=12.5.0"
+ }
+ },
+ "node_modules/@react-navigation/elements/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
}
},
+ "node_modules/@react-navigation/elements/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "license": "MIT"
+ },
"node_modules/@react-navigation/material-top-tabs": {
- "version": "6.6.14",
- "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-6.6.14.tgz",
- "integrity": "sha512-kfNQt3BInQusEc8A+PDWaKmRQNaCrSqngcOQwUe1uNizJdZJEFdfaInivtBFW2LcQqtzgIHK/am2TgK0Pos6og==",
+ "version": "7.6.16",
+ "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-7.6.16.tgz",
+ "integrity": "sha512-k6/VCG0apNGESDMJlfBJ6csDHpV9zC2KvH7Zainj4c0+wqW8iPT08DN6sz/GKhOTG68v1urI+vc52VtVYiA4QA==",
"license": "MIT",
"dependencies": {
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "react-native-tab-view": "^4.3.2"
},
"peerDependencies": {
- "@react-navigation/native": "^6.0.0",
- "react": "*",
+ "@react-navigation/native": "^7.3.17",
+ "react": ">= 18.2.0",
"react-native": "*",
- "react-native-pager-view": ">= 4.0.0",
- "react-native-tab-view": ">= 3.0.0"
+ "react-native-pager-view": ">= 6.0.0",
+ "react-native-safe-area-context": ">= 4.0.0"
}
},
"node_modules/@react-navigation/material-top-tabs/node_modules/color": {
@@ -5879,47 +5915,49 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/@react-navigation/native": {
- "version": "6.1.18",
- "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.1.18.tgz",
- "integrity": "sha512-mIT9MiL/vMm4eirLcmw2h6h/Nm5FICtnYSdohq4vTLA2FF/6PNhByM7s8ffqoVfE5L0uAa6Xda1B7oddolUiGg==",
+ "version": "7.3.17",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.3.17.tgz",
+ "integrity": "sha512-DQVraYcaWIiYrmqsmOunPSGQjjjxfKD6quZ+P4ycujW870CFCAdRQ9cmgE+v8O0YjuOUCnIDoOrqK53rl5zDDw==",
"license": "MIT",
"dependencies": {
- "@react-navigation/core": "^6.4.17",
+ "@react-navigation/core": "^7.21.13",
"escape-string-regexp": "^4.0.0",
"fast-deep-equal": "^3.1.3",
- "nanoid": "^3.1.23"
+ "nanoid": "^3.3.11",
+ "standard-navigation": "^0.0.8",
+ "use-latest-callback": "^0.2.4"
},
"peerDependencies": {
- "react": "*",
+ "react": ">= 18.2.0",
"react-native": "*"
}
},
"node_modules/@react-navigation/routers": {
- "version": "6.1.9",
- "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.9.tgz",
- "integrity": "sha512-lTM8gSFHSfkJvQkxacGM6VJtBt61ip2XO54aNfswD+KMw6eeZ4oehl7m0me3CR9hnDE4+60iAZR8sAhvCiI3NA==",
+ "version": "7.6.4",
+ "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.6.4.tgz",
+ "integrity": "sha512-GI7eJm8/KsZUQaYcXvEExikKurRZRgEsSzyZ7faENfi65yqJBCXjDMwyN1pF6pNW1MoLH1ErDwDivFxY6BzD3w==",
"license": "MIT",
"dependencies": {
- "nanoid": "^3.1.23"
+ "nanoid": "^3.3.11"
}
},
"node_modules/@react-navigation/stack": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.4.1.tgz",
- "integrity": "sha512-upMEHOKMtuMu4c9gmoPlO/JqI6mDlSqwXg1aXKOTQLXAF8H5koOLRfrmi7AkdiE9A7lDXWUAZoGuD9O88cYvDQ==",
+ "version": "7.10.23",
+ "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-7.10.23.tgz",
+ "integrity": "sha512-+xEXkRDHTZEkPovzWWcMhI2lY7afZtq6b7d2GYy/YQXCYUu1nENIGZPzDRfVJ0iKco2J74/URT2d2BVqR7Bwlg==",
"license": "MIT",
"dependencies": {
- "@react-navigation/elements": "^1.3.31",
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "use-latest-callback": "^0.2.4"
},
"peerDependencies": {
- "@react-navigation/native": "^6.0.0",
- "react": "*",
+ "@react-navigation/native": "^7.3.17",
+ "react": ">= 18.2.0",
"react-native": "*",
- "react-native-gesture-handler": ">= 1.0.0",
- "react-native-safe-area-context": ">= 3.0.0",
- "react-native-screens": ">= 3.0.0"
+ "react-native-gesture-handler": ">= 2.0.0",
+ "react-native-safe-area-context": ">= 4.0.0",
+ "react-native-screens": ">= 4.0.0"
}
},
"node_modules/@react-navigation/stack/node_modules/color": {
@@ -17540,9 +17578,9 @@
}
},
"node_modules/react-native-gesture-handler": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-3.0.0.tgz",
- "integrity": "sha512-6E8o9D2sHwhFGiU0c4aCweMdJwIbQeBV+dq3IQ3HcqKhVGzg7ccEycap6i0zGCtIYfs3V29Xd4OycwcRj5qxBQ==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-3.2.1.tgz",
+ "integrity": "sha512-VEWscxUN29aeccbD2McF0LSXrwOhSdisaSRFiEWg0O/3WrVghNJp/tOtLrCgzb9gfcZ3xdA+K2Sp8F5G3iHx/Q==",
"license": "MIT",
"dependencies": {
"@types/react-test-renderer": "^19.1.0",
@@ -17582,9 +17620,9 @@
}
},
"node_modules/react-native-pager-view": {
- "version": "8.0.3",
- "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-8.0.3.tgz",
- "integrity": "sha512-A+sYMqb/mJtovWuDuw7jjc+yVtYLB+xX0GzQ6ivgAZnW3Ym0j4PNKio4X0OIbiQEpI+Kjbj8kNuvMA6b0bT/qw==",
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-8.0.5.tgz",
+ "integrity": "sha512-+TKvy/Nils9JnDHVqiE4/2Ohk37RYLz9GXIkMVNf5PVdokEc02OWF3iflA1sf+3uWxzNl8Yt5fKMGK1NbR4AuQ==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -17611,15 +17649,6 @@
"react-native-safe-area-context": "*"
}
},
- "node_modules/react-native-paper/node_modules/use-latest-callback": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
- "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==",
- "license": "MIT",
- "peerDependencies": {
- "react": ">=16.8"
- }
- },
"node_modules/react-native-performance": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/react-native-performance/-/react-native-performance-6.0.0.tgz",
@@ -17630,9 +17659,9 @@
}
},
"node_modules/react-native-safe-area-context": {
- "version": "5.6.1",
- "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.6.1.tgz",
- "integrity": "sha512-/wJE58HLEAkATzhhX1xSr+fostLsK8Q97EfpfMDKo8jlOc1QKESSX/FQrhk7HhQH/2uSaox4Y86sNaI02kteiA==",
+ "version": "5.9.1",
+ "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.9.1.tgz",
+ "integrity": "sha512-Zpx9Iwg6VhgNarWFpcIM61xK2lUbSfSXemQUmcvOVRpux49lJsUompY1S3E5jKUJbLq233qEpj28DgmXVsgZMQ==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -17650,9 +17679,9 @@
}
},
"node_modules/react-native-screens": {
- "version": "4.17.1",
- "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.17.1.tgz",
- "integrity": "sha512-hGArs1kzsokvwxq98vluGlprUw3Q95zEjvZ3U2q28FmvLy25e6jxMclEkgxNtJ0GVJ2gWcFRTXON0EIVvUEd+A==",
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.23.0.tgz",
+ "integrity": "sha512-XhO3aK0UeLpBn4kLecd+J+EDeRRJlI/Ro9Fze06vo1q163VeYtzfU9QS09/VyDFMWR1qxDC1iazCArTPSFFiPw==",
"license": "MIT",
"dependencies": {
"react-freeze": "^1.0.0",
@@ -18153,16 +18182,17 @@
}
},
"node_modules/react-native-tab-view": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-3.5.2.tgz",
- "integrity": "sha512-nE5WqjbeEPsWQx4mtz81QGVvgHRhujTNIIZiMCx3Bj6CBFDafbk7XZp9ocmtzXUQaZ4bhtVS43R4FIiR4LboJw==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-4.3.2.tgz",
+ "integrity": "sha512-QCHX9bTGMeME5pt4jJ1/H7oshX7Z2nA/Ts3m7FpKUbWfPPIL8rlNLZwkedgV273Eqau8jj8deRtfSZl9LCctCw==",
+ "license": "MIT",
"dependencies": {
- "use-latest-callback": "^0.1.5"
+ "use-latest-callback": "^0.2.4"
},
"peerDependencies": {
- "react": "*",
+ "react": ">= 18.2.0",
"react-native": "*",
- "react-native-pager-view": "*"
+ "react-native-pager-view": ">= 6.0.0"
}
},
"node_modules/react-native-url-polyfill": {
@@ -19352,6 +19382,15 @@
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
},
+ "node_modules/sf-symbols-typescript": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.2.0.tgz",
+ "integrity": "sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/shallow-clone": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
@@ -19746,6 +19785,15 @@
"node": ">=6"
}
},
+ "node_modules/standard-navigation": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/standard-navigation/-/standard-navigation-0.0.8.tgz",
+ "integrity": "sha512-TyVbo7INUDWtsUWDFn8RR7kwR87U0S4xHfLfbbnyeC581TmmyqQ+eM+nPw8rQTSD8QitRVcYfPaSHr/QJiUy1g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*"
+ }
+ },
"node_modules/statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
@@ -20829,9 +20877,9 @@
}
},
"node_modules/use-latest-callback": {
- "version": "0.1.9",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.9.tgz",
- "integrity": "sha512-CL/29uS74AwreI/f2oz2hLTW7ZqVeV5+gxFeGudzQrgkCytrHw33G4KbnQOrRlAEzzAFXi7dDLMC9zhWcVpzmw==",
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
+ "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8"
@@ -25605,13 +25653,13 @@
}
},
"@react-navigation/bottom-tabs": {
- "version": "6.6.1",
- "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-6.6.1.tgz",
- "integrity": "sha512-9oD4cypEBjPuaMiu9tevWGiQ4w/d6l3HNhcJ1IjXZ24xvYDSs0mqjUcdt8SWUolCvRrYc/DmNBLlT83bk0bHTw==",
+ "version": "7.18.17",
+ "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.18.17.tgz",
+ "integrity": "sha512-/e3gKQUy374YsYpmsKTwq8RpMTbxcKpgcr9+Q8+c9FHYd2pwtUY3/zGkaoo0FBSrDlpan1YyOQ+m5LQTqDUpBA==",
"requires": {
- "@react-navigation/elements": "^1.3.31",
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "sf-symbols-typescript": "^2.1.0"
},
"dependencies": {
"color": {
@@ -25639,42 +25687,69 @@
}
},
"@react-navigation/core": {
- "version": "6.4.17",
- "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-6.4.17.tgz",
- "integrity": "sha512-Nd76EpomzChWAosGqWOYE3ItayhDzIEzzZsT7PfGcRFDgW5miHV2t4MZcq9YIK4tzxZjVVpYbIynOOQQd1e0Cg==",
+ "version": "7.21.13",
+ "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.21.13.tgz",
+ "integrity": "sha512-d1syMXra7RlJjGsjsIxEA14F6U+awFtQJeOfDc+V7x3y1mPqYQVTYnqnt3PR+fBBouUKaKsgKZsSR3MP5919Xg==",
"requires": {
- "@react-navigation/routers": "^6.1.9",
+ "@react-navigation/routers": "^7.6.4",
"escape-string-regexp": "^4.0.0",
- "nanoid": "^3.1.23",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^3.3.11",
"query-string": "^7.1.3",
- "react-is": "^16.13.0",
- "use-latest-callback": "^0.2.1"
+ "react-is": "^19.1.0",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
},
"dependencies": {
"react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "use-latest-callback": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
- "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg=="
+ "version": "19.2.8",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.8.tgz",
+ "integrity": "sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ=="
}
}
},
"@react-navigation/elements": {
- "version": "1.3.31",
- "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-1.3.31.tgz",
- "integrity": "sha512-bUzP4Awlljx5RKEExw8WYtif8EuQni2glDaieYROKTnaxsu9kEIA515sXQgUDZU4Ob12VoL7+z70uO3qrlfXcQ=="
+ "version": "2.9.39",
+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.39.tgz",
+ "integrity": "sha512-XWgWIyMDZ0yjTP0aLbi2y+VID/3giOLEqtdpMfNTOQf8F5rdM49PWgUBZSlZ4b5VWL/eTIo5VNOsRon26OEiFA==",
+ "requires": {
+ "color": "^4.2.3",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
+ },
+ "dependencies": {
+ "color": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
+ "requires": {
+ "color-convert": "^2.0.1",
+ "color-string": "^1.9.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ }
+ }
},
"@react-navigation/material-top-tabs": {
- "version": "6.6.14",
- "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-6.6.14.tgz",
- "integrity": "sha512-kfNQt3BInQusEc8A+PDWaKmRQNaCrSqngcOQwUe1uNizJdZJEFdfaInivtBFW2LcQqtzgIHK/am2TgK0Pos6og==",
+ "version": "7.6.16",
+ "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-7.6.16.tgz",
+ "integrity": "sha512-k6/VCG0apNGESDMJlfBJ6csDHpV9zC2KvH7Zainj4c0+wqW8iPT08DN6sz/GKhOTG68v1urI+vc52VtVYiA4QA==",
"requires": {
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "react-native-tab-view": "^4.3.2"
},
"dependencies": {
"color": {
@@ -25702,32 +25777,34 @@
}
},
"@react-navigation/native": {
- "version": "6.1.18",
- "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-6.1.18.tgz",
- "integrity": "sha512-mIT9MiL/vMm4eirLcmw2h6h/Nm5FICtnYSdohq4vTLA2FF/6PNhByM7s8ffqoVfE5L0uAa6Xda1B7oddolUiGg==",
+ "version": "7.3.17",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.3.17.tgz",
+ "integrity": "sha512-DQVraYcaWIiYrmqsmOunPSGQjjjxfKD6quZ+P4ycujW870CFCAdRQ9cmgE+v8O0YjuOUCnIDoOrqK53rl5zDDw==",
"requires": {
- "@react-navigation/core": "^6.4.17",
+ "@react-navigation/core": "^7.21.13",
"escape-string-regexp": "^4.0.0",
"fast-deep-equal": "^3.1.3",
- "nanoid": "^3.1.23"
+ "nanoid": "^3.3.11",
+ "standard-navigation": "^0.0.8",
+ "use-latest-callback": "^0.2.4"
}
},
"@react-navigation/routers": {
- "version": "6.1.9",
- "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-6.1.9.tgz",
- "integrity": "sha512-lTM8gSFHSfkJvQkxacGM6VJtBt61ip2XO54aNfswD+KMw6eeZ4oehl7m0me3CR9hnDE4+60iAZR8sAhvCiI3NA==",
+ "version": "7.6.4",
+ "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.6.4.tgz",
+ "integrity": "sha512-GI7eJm8/KsZUQaYcXvEExikKurRZRgEsSzyZ7faENfi65yqJBCXjDMwyN1pF6pNW1MoLH1ErDwDivFxY6BzD3w==",
"requires": {
- "nanoid": "^3.1.23"
+ "nanoid": "^3.3.11"
}
},
"@react-navigation/stack": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.4.1.tgz",
- "integrity": "sha512-upMEHOKMtuMu4c9gmoPlO/JqI6mDlSqwXg1aXKOTQLXAF8H5koOLRfrmi7AkdiE9A7lDXWUAZoGuD9O88cYvDQ==",
+ "version": "7.10.23",
+ "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-7.10.23.tgz",
+ "integrity": "sha512-+xEXkRDHTZEkPovzWWcMhI2lY7afZtq6b7d2GYy/YQXCYUu1nENIGZPzDRfVJ0iKco2J74/URT2d2BVqR7Bwlg==",
"requires": {
- "@react-navigation/elements": "^1.3.31",
+ "@react-navigation/elements": "^2.9.39",
"color": "^4.2.3",
- "warn-once": "^0.1.0"
+ "use-latest-callback": "^0.2.4"
},
"dependencies": {
"color": {
@@ -33779,9 +33856,9 @@
"integrity": "sha512-MKbuBbovO8eGiAM9i6o0nrdBXivhRpzPQ+aVBXGJEPMH7RrCSNUKaCoEpkjfGHlTxjZimi6WjDCjjzCRSHlV1A=="
},
"react-native-gesture-handler": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-3.0.0.tgz",
- "integrity": "sha512-6E8o9D2sHwhFGiU0c4aCweMdJwIbQeBV+dq3IQ3HcqKhVGzg7ccEycap6i0zGCtIYfs3V29Xd4OycwcRj5qxBQ==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-3.2.1.tgz",
+ "integrity": "sha512-VEWscxUN29aeccbD2McF0LSXrwOhSdisaSRFiEWg0O/3WrVghNJp/tOtLrCgzb9gfcZ3xdA+K2Sp8F5G3iHx/Q==",
"requires": {
"@types/react-test-renderer": "^19.1.0",
"invariant": "^2.2.4"
@@ -33801,9 +33878,9 @@
"from": "react-native-orientation-locker@https://github.com/jitsi/react-native-orientation-locker.git#0c42e6f8e9d86397b14b3f03f0ed9b2b73211333"
},
"react-native-pager-view": {
- "version": "8.0.3",
- "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-8.0.3.tgz",
- "integrity": "sha512-A+sYMqb/mJtovWuDuw7jjc+yVtYLB+xX0GzQ6ivgAZnW3Ym0j4PNKio4X0OIbiQEpI+Kjbj8kNuvMA6b0bT/qw=="
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-8.0.5.tgz",
+ "integrity": "sha512-+TKvy/Nils9JnDHVqiE4/2Ohk37RYLz9GXIkMVNf5PVdokEc02OWF3iflA1sf+3uWxzNl8Yt5fKMGK1NbR4AuQ=="
},
"react-native-paper": {
"version": "5.14.5",
@@ -33813,13 +33890,6 @@
"@callstack/react-theme-provider": "^3.0.9",
"color": "^3.1.2",
"use-latest-callback": "^0.2.3"
- },
- "dependencies": {
- "use-latest-callback": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
- "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg=="
- }
}
},
"react-native-performance": {
@@ -33828,9 +33898,9 @@
"integrity": "sha512-Sca75O8jhqXAnNbqvINnrw248Kv9cIwoGxToD8u2uX+BrkAxxXS+YhClEV5L3JdiOpdNCO1MJ5R9bgs2VkNpFg=="
},
"react-native-safe-area-context": {
- "version": "5.6.1",
- "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.6.1.tgz",
- "integrity": "sha512-/wJE58HLEAkATzhhX1xSr+fostLsK8Q97EfpfMDKo8jlOc1QKESSX/FQrhk7HhQH/2uSaox4Y86sNaI02kteiA=="
+ "version": "5.9.1",
+ "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.9.1.tgz",
+ "integrity": "sha512-Zpx9Iwg6VhgNarWFpcIM61xK2lUbSfSXemQUmcvOVRpux49lJsUompY1S3E5jKUJbLq233qEpj28DgmXVsgZMQ=="
},
"react-native-screen-corner-radius": {
"version": "0.2.3",
@@ -33838,9 +33908,9 @@
"integrity": "sha512-8JgiHI/S2Xf6swquEjopHW//wI4a/nV/dEImJMR8YXQVWVdnjbhcMi0NGk1s1cW8xuunwlFT173PozsS3Gvgxg=="
},
"react-native-screens": {
- "version": "4.17.1",
- "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.17.1.tgz",
- "integrity": "sha512-hGArs1kzsokvwxq98vluGlprUw3Q95zEjvZ3U2q28FmvLy25e6jxMclEkgxNtJ0GVJ2gWcFRTXON0EIVvUEd+A==",
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.23.0.tgz",
+ "integrity": "sha512-XhO3aK0UeLpBn4kLecd+J+EDeRRJlI/Ro9Fze06vo1q163VeYtzfU9QS09/VyDFMWR1qxDC1iazCArTPSFFiPw==",
"requires": {
"react-freeze": "^1.0.0",
"warn-once": "^0.1.0"
@@ -34131,11 +34201,11 @@
}
},
"react-native-tab-view": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-3.5.2.tgz",
- "integrity": "sha512-nE5WqjbeEPsWQx4mtz81QGVvgHRhujTNIIZiMCx3Bj6CBFDafbk7XZp9ocmtzXUQaZ4bhtVS43R4FIiR4LboJw==",
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-4.3.2.tgz",
+ "integrity": "sha512-QCHX9bTGMeME5pt4jJ1/H7oshX7Z2nA/Ts3m7FpKUbWfPPIL8rlNLZwkedgV273Eqau8jj8deRtfSZl9LCctCw==",
"requires": {
- "use-latest-callback": "^0.1.5"
+ "use-latest-callback": "^0.2.4"
}
},
"react-native-url-polyfill": {
@@ -34949,6 +35019,11 @@
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
},
+ "sf-symbols-typescript": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.2.0.tgz",
+ "integrity": "sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw=="
+ },
"shallow-clone": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
@@ -35261,6 +35336,11 @@
"type-fest": "^0.7.1"
}
},
+ "standard-navigation": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/standard-navigation/-/standard-navigation-0.0.8.tgz",
+ "integrity": "sha512-TyVbo7INUDWtsUWDFn8RR7kwR87U0S4xHfLfbbnyeC581TmmyqQ+eM+nPw8rQTSD8QitRVcYfPaSHr/QJiUy1g=="
+ },
"statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
@@ -35951,9 +36031,9 @@
}
},
"use-latest-callback": {
- "version": "0.1.9",
- "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.9.tgz",
- "integrity": "sha512-CL/29uS74AwreI/f2oz2hLTW7ZqVeV5+gxFeGudzQrgkCytrHw33G4KbnQOrRlAEzzAFXi7dDLMC9zhWcVpzmw=="
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
+ "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg=="
},
"use-sidecar": {
"version": "1.1.3",
diff --git a/package.json b/package.json
index 2c78f1d218..7ad103781e 100644
--- a/package.json
+++ b/package.json
@@ -38,11 +38,11 @@
"@react-native-community/netinfo": "11.5.2",
"@react-native-community/slider": "5.1.2",
"@react-native-google-signin/google-signin": "10.1.0",
- "@react-navigation/bottom-tabs": "6.6.1",
- "@react-navigation/elements": "1.3.31",
- "@react-navigation/material-top-tabs": "6.6.14",
- "@react-navigation/native": "6.1.18",
- "@react-navigation/stack": "6.4.1",
+ "@react-navigation/bottom-tabs": "7.18.17",
+ "@react-navigation/elements": "2.9.39",
+ "@react-navigation/material-top-tabs": "7.6.16",
+ "@react-navigation/native": "7.3.17",
+ "@react-navigation/stack": "7.10.23",
"@sayem314/react-native-keep-awake": "1.4.0",
"@stomp/stompjs": "7.0.0",
"@svgr/webpack": "6.3.1",
@@ -95,20 +95,20 @@
"react-native-default-preference": "https://github.com/jitsi/react-native-default-preference.git#c9bf63bdc058e3fa2aa0b87b1ee1af240f44ed02",
"react-native-device-info": "14.1.1",
"react-native-dialog": "https://github.com/jitsi/react-native-dialog/releases/download/v9.2.2-jitsi.1/react-native-dialog-9.2.2.tgz",
- "react-native-gesture-handler": "3.0.0",
+ "react-native-gesture-handler": "3.2.1",
"react-native-get-random-values": "1.11.0",
"react-native-orientation-locker": "https://github.com/jitsi/react-native-orientation-locker.git#0c42e6f8e9d86397b14b3f03f0ed9b2b73211333",
- "react-native-pager-view": "8.0.3",
+ "react-native-pager-view": "8.0.5",
"react-native-paper": "5.14.5",
"react-native-performance": "6.0.0",
- "react-native-safe-area-context": "5.6.1",
+ "react-native-safe-area-context": "5.9.1",
"react-native-screen-corner-radius": "0.2.3",
- "react-native-screens": "4.17.1",
+ "react-native-screens": "4.23.0",
"react-native-sound": "https://github.com/jitsi/react-native-sound.git#bc92152667a628120374c1324fc9e44f697c3192",
"react-native-splash-view": "0.0.18",
"react-native-svg": "15.15.5",
"react-native-svg-transformer": "1.2.0",
- "react-native-tab-view": "3.5.2",
+ "react-native-tab-view": "4.3.2",
"react-native-url-polyfill": "2.0.0",
"react-native-video": "6.19.1",
"react-native-webrtc": "124.0.8",
diff --git a/react/features/conference/components/native/Conference.tsx b/react/features/conference/components/native/Conference.tsx
index b1f83c0448..81277fe076 100644
--- a/react/features/conference/components/native/Conference.tsx
+++ b/react/features/conference/components/native/Conference.tsx
@@ -243,10 +243,11 @@ class Conference extends AbstractConference<IProps, State> {
}
if (prevProps._showLobby && !_showLobby) {
+ // popTo, because navigate no longer pops back to an existing screen.
if (_lowBandwidthModeEnabled && _startCarMode) {
- navigation.navigate(screen.conference.carmode);
+ navigation.popTo(screen.conference.carmode);
} else {
- navigation.navigate(screen.conference.main);
+ navigation.popTo(screen.conference.main);
}
}
}
diff --git a/react/features/mobile/navigation/components/LobbyCloseButton.tsx b/react/features/mobile/navigation/components/LobbyCloseButton.tsx
new file mode 100644
index 0000000000..88342fae84
--- /dev/null
+++ b/react/features/mobile/navigation/components/LobbyCloseButton.tsx
@@ -0,0 +1,44 @@
+import React, { useCallback } from 'react';
+import { useTranslation } from 'react-i18next';
+import { Platform } from 'react-native';
+import { useDispatch } from 'react-redux';
+
+import { appNavigate } from '../../../app/actions.native';
+import { IconCloseLarge } from '../../../base/icons/svg';
+import { cancelKnocking } from '../../../lobby/actions.native';
+
+import HeaderNavigationButton from './HeaderNavigationButton';
+
+/**
+ * Close icon/text button for the lobby screen based on platform.
+ *
+ * @returns {React.Component}
+ */
+const LobbyCloseButton = React.memo(() => {
+ const dispatch = useDispatch();
+ const { t } = useTranslation();
+ const goBack = useCallback(() => {
+ dispatch(cancelKnocking());
+ dispatch(appNavigate(undefined));
+ }, [ dispatch ]);
+
+ if (Platform.OS === 'ios') {
+ return (
+ <HeaderNavigationButton
+ id = { 'close-screen-button' }
+ label = { t('dialog.close') }
+ onPress = { goBack } />
+ );
+ }
+
+ return (
+ <HeaderNavigationButton
+ id = { 'close-screen-button' }
+ onPress = { goBack }
+ src = { IconCloseLarge } />
+ );
+});
+
+LobbyCloseButton.displayName = 'LobbyCloseButton';
+
+export default LobbyCloseButton;
diff --git a/react/features/mobile/navigation/components/RootNavigationContainer.tsx b/react/features/mobile/navigation/components/RootNavigationContainer.tsx
index 838fb66f6e..8628020fb8 100644
--- a/react/features/mobile/navigation/components/RootNavigationContainer.tsx
+++ b/react/features/mobile/navigation/components/RootNavigationContainer.tsx
@@ -1,4 +1,4 @@
-import { NavigationContainer, Theme } from '@react-navigation/native';
+import { NavigationContainer, NavigationIndependentTree } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import React, { useCallback } from 'react';
import { connect } from 'react-redux';
@@ -58,43 +58,44 @@ const RootNavigationContainer = ({ dispatch, isWelcomePageAvailable }: IProps) =
}, [ dispatch ]);
return (
- <NavigationContainer
- independent = { true }
- onReady = { onReady }
- ref = { rootNavigationRef }
- theme = { navigationContainerTheme as Theme }>
- <RootStack.Navigator
- initialRouteName = { initialRouteName }>
- <RootStack.Screen // @ts-ignore
- component = { WelcomePage }
- name = { screen.welcome.main }
- options = { welcomeScreenOptions } />
- <RootStack.Screen // @ts-ignore
- component = { DialInSummary }
- name = { screen.dialInSummary }
- options = { dialInSummaryScreenOptions } />
- <RootStack.Screen
- component = { ConnectingPage }
- name = { screen.connecting }
- options = { connectingScreenOptions } />
- <RootStack.Screen
- component = { Prejoin }
- name = { screen.preJoin }
- options = { preJoinScreenOptions } />
- <RootStack.Screen
- component = { UnsafeRoomWarning }
- name = { screen.unsafeRoomWarning }
- options = { unsafeMeetingScreenOptions } />
- <RootStack.Screen
- component = { VisitorsQueue }
- name = { screen.visitorsQueue }
- options = { visitorsScreenOptions } />
- <RootStack.Screen
- component = { ConferenceNavigationContainer }
- name = { screen.conference.root }
- options = { conferenceNavigationContainerScreenOptions } />
- </RootStack.Navigator>
- </NavigationContainer>
+ <NavigationIndependentTree>
+ <NavigationContainer
+ onReady = { onReady }
+ ref = { rootNavigationRef }
+ theme = { navigationContainerTheme }>
+ <RootStack.Navigator
+ initialRouteName = { initialRouteName }>
+ <RootStack.Screen // @ts-ignore
+ component = { WelcomePage }
+ name = { screen.welcome.main }
+ options = { welcomeScreenOptions } />
+ <RootStack.Screen // @ts-ignore
+ component = { DialInSummary }
+ name = { screen.dialInSummary }
+ options = { dialInSummaryScreenOptions } />
+ <RootStack.Screen
+ component = { ConnectingPage }
+ name = { screen.connecting }
+ options = { connectingScreenOptions } />
+ <RootStack.Screen
+ component = { Prejoin }
+ name = { screen.preJoin }
+ options = { preJoinScreenOptions } />
+ <RootStack.Screen
+ component = { UnsafeRoomWarning }
+ name = { screen.unsafeRoomWarning }
+ options = { unsafeMeetingScreenOptions } />
+ <RootStack.Screen
+ component = { VisitorsQueue }
+ name = { screen.visitorsQueue }
+ options = { visitorsScreenOptions } />
+ <RootStack.Screen
+ component = { ConferenceNavigationContainer }
+ name = { screen.conference.root }
+ options = { conferenceNavigationContainerScreenOptions } />
+ </RootStack.Navigator>
+ </NavigationContainer>
+ </NavigationIndependentTree>
);
};
diff --git a/react/features/mobile/navigation/components/ScreenCloseButton.tsx b/react/features/mobile/navigation/components/ScreenCloseButton.tsx
new file mode 100644
index 0000000000..53527e0218
--- /dev/null
+++ b/react/features/mobile/navigation/components/ScreenCloseButton.tsx
@@ -0,0 +1,44 @@
+import React from 'react';
+import { useTranslation } from 'react-i18next';
+import { GestureResponderEvent, Platform } from 'react-native';
+
+import { IconCloseLarge } from '../../../base/icons/svg';
+
+import HeaderNavigationButton from './HeaderNavigationButton';
+
+interface IProps {
+
+ /**
+ * Goes back to the previous screen function.
+ */
+ goBack: (e?: GestureResponderEvent | React.MouseEvent) => void;
+}
+
+/**
+ * Close icon/text button based on platform.
+ *
+ * @returns {React.Component}
+ */
+const ScreenCloseButton = React.memo(({ goBack }: IProps) => {
+ const { t } = useTranslation();
+
+ if (Platform.OS === 'ios') {
+ return (
+ <HeaderNavigationButton
+ id = { 'close-screen-button' }
+ label = { t('dialog.close') }
+ onPress = { goBack } />
+ );
+ }
+
+ return (
+ <HeaderNavigationButton
+ id = { 'close-screen-button' }
+ onPress = { goBack }
+ src = { IconCloseLarge } />
+ );
+});
+
+ScreenCloseButton.displayName = 'ScreenCloseButton';
+
+export default ScreenCloseButton;
diff --git a/react/features/mobile/navigation/components/chat/components/ChatTabBar.tsx b/react/features/mobile/navigation/components/chat/components/ChatTabBar.tsx
index f733604dbc..3beceed958 100644
--- a/react/features/mobile/navigation/components/chat/components/ChatTabBar.tsx
+++ b/react/features/mobile/navigation/components/chat/components/ChatTabBar.tsx
@@ -1,21 +1,8 @@
import { MaterialTopTabBar, MaterialTopTabBarProps } from '@react-navigation/material-top-tabs';
import React from 'react';
-import { Route, TabBarItem, TabBarItemProps } from 'react-native-tab-view';
-
-type TabBarItemWithKey = TabBarItemProps<Route> & { key: string; };
-
-// renderTabBarItem extracts key from the spread props object to satisfy React 19's
-// requirement that key must be passed directly to JSX and not via object spread.
-const renderTabBarItem = ({ key, ...itemProps }: TabBarItemWithKey) => (
- <TabBarItem
- key = { key }
- { ...itemProps } />
-);
const ChatTabBar = (props: MaterialTopTabBarProps) => (
- <MaterialTopTabBar
- { ...props as any }
- renderTabBarItem = { renderTabBarItem } />
+ <MaterialTopTabBar { ...props } />
);
export default ChatTabBar;
diff --git a/react/features/mobile/navigation/components/conference/ConferenceNavigationContainerRef.ts b/react/features/mobile/navigation/components/conference/ConferenceNavigationContainerRef.ts
index 7aeb1dbcec..839bce18e8 100644
--- a/react/features/mobile/navigation/components/conference/ConferenceNavigationContainerRef.ts
+++ b/react/features/mobile/navigation/components/conference/ConferenceNavigationContainerRef.ts
@@ -1,4 +1,4 @@
-import { NavigationContainerRef } from '@react-navigation/native';
+import { NavigationContainerRef, StackActions } from '@react-navigation/native';
import React from 'react';
export const conferenceNavigationRef = React.createRef<NavigationContainerRef<any>>();
@@ -23,6 +23,16 @@ export function goBack() {
return conferenceNavigationRef.current?.goBack();
}
+/**
+ * User defined navigation action included inside the reference to the container.
+ *
+ * @param {string} name - Destination name of the route to pop back to.
+ * @returns {Function}
+ */
+export function popTo(name: string) {
+ return conferenceNavigationRef.current?.dispatch(StackActions.popTo(name));
+}
+
/**
* User defined navigation action included inside the reference to the container.
*
diff --git a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx
index 972571bc83..9386582648 100644
--- a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx
+++ b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx
@@ -1,6 +1,6 @@
/* eslint-disable lines-around-comment */
-import { NavigationContainer, Theme } from '@react-navigation/native';
+import { NavigationContainer, NavigationIndependentTree } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import React from 'react';
import { useTranslation } from 'react-i18next';
@@ -116,139 +116,140 @@ const ConferenceNavigationContainer = () => {
}
return (
- <NavigationContainer
- independent = { true }
- ref = { conferenceNavigationRef }
- theme = { navigationContainerTheme as Theme }>
- <ConferenceStack.Navigator
- screenOptions = {{
- presentation: 'modal'
- }}>
- <ConferenceStack.Screen
- component = { Conference }
- name = { screen.conference.main }
- options = { conferenceScreenOptions } />
- <ConferenceStack.Screen
- component = { ChatScreen }
- name = { chatScreenName }
- options = {{
- ...chatScreenOptions,
- title: chatTitle
- }} />
- <ConferenceStack.Screen
- component = { ParticipantsPane }
- name = { screen.conference.participants }
- options = {{
- ...participantsScreenOptions,
- title: t('participantsPane.title')
- }} />
- <ConferenceStack.Screen
- component = { SecurityDialog }
- name = { screen.conference.security }
- options = {{
- ...securityScreenOptions,
- title: t('security.title')
- }} />
- <ConferenceStack.Screen
- component = { RecordingTranscriptionDialog }
- name = { screen.conference.recording }
- options = {{
- ...recordingScreenOptions,
- title: t('dialog.recordAndTranscribe')
- }} />
- <ConferenceStack.Screen
- component = { StartLiveStreamDialog }
- name = { screen.conference.liveStream }
- options = {{
- ...liveStreamScreenOptions,
- title: t('liveStreaming.title')
- }} />
- <ConferenceStack.Screen
- component = { SpeakerStats }
- name = { screen.conference.speakerStats }
- options = {{
- ...speakerStatsScreenOptions,
- title: t('speakerStats.speakerStats')
- }} />
- <ConferenceStack.Screen
- component = { SalesforceLinkDialog }
- name = { screen.conference.salesforce }
- options = {{
- ...salesforceScreenOptions,
- title: t('notify.linkToSalesforce')
- }} />
- <ConferenceStack.Screen
- component = { GifsMenu }
- name = { screen.conference.gifsMenu }
- options = {{
- ...gifsMenuOptions,
- title: t('notify.gifsMenu')
- }} />
- <ConferenceStack.Screen
- component = { LobbyNavigationContainer }
- name = { screen.lobby.root }
- options = {{
- ...lobbyNavigationContainerScreenOptions,
- title: t('lobby.title')
- }} />
- <ConferenceStack.Screen
- component = { AddPeopleDialog }
- name = { screen.conference.invite }
- options = {{
- ...inviteScreenOptions,
- title: t('addPeople.add')
- }} />
- <ConferenceStack.Screen
- component = { SharedDocument }
- name = { screen.conference.sharedDocument }
- options = {{
- ...sharedDocumentScreenOptions,
- title: t('documentSharing.title')
- }} />
- <ConferenceStack.Screen
- // @ts-ignore
- component = { SettingsNavigationContainer }
- name = { screen.settings.main }
- options = { settingsNavigationContainerScreenOptions } />
- <ConferenceStack.Screen
- // @ts-ignore
- component = { CarMode }
- name = { screen.conference.carmode }
- options = {{
- ...carmodeScreenOptions,
- title: t('carmode.labels.title')
- }} />
- <ConferenceStack.Screen
- component = { LanguageSelectorDialog }
- name = { screen.conference.subtitles }
- options = {{
- ...subtitlesScreenOptions,
- title: t('transcribing.subtitles')
- }} />
- <ConferenceStack.Screen
- component = { AudioTranslationDialog }
- name = { screen.conference.audioTranslation }
- options = {{
- ...audioTranslationScreenOptions,
- title: t('toolbar.audioTranslation')
- }} />
- <ConferenceStack.Screen
- component = { BreakoutRooms }
- name = { screen.conference.breakoutRooms }
- options = {{
- ...breakoutRoomsScreenOptions,
- title: t('breakoutRooms.title')
- }} />
- <ConferenceStack.Screen
- // @ts-ignore
- component = { Whiteboard }
- name = { screen.conference.whiteboard }
- options = {{
- ...whiteboardScreenOptions,
- title: t('whiteboard.screenTitle')
- }} />
- </ConferenceStack.Navigator>
- </NavigationContainer>
+ <NavigationIndependentTree>
+ <NavigationContainer
+ ref = { conferenceNavigationRef }
+ theme = { navigationContainerTheme }>
+ <ConferenceStack.Navigator
+ screenOptions = {{
+ presentation: 'modal'
+ }}>
+ <ConferenceStack.Screen
+ component = { Conference }
+ name = { screen.conference.main }
+ options = { conferenceScreenOptions } />
+ <ConferenceStack.Screen
+ component = { ChatScreen }
+ name = { chatScreenName }
+ options = {{
+ ...chatScreenOptions,
+ title: chatTitle
+ }} />
+ <ConferenceStack.Screen
+ component = { ParticipantsPane }
+ name = { screen.conference.participants }
+ options = {{
+ ...participantsScreenOptions,
+ title: t('participantsPane.title')
+ }} />
+ <ConferenceStack.Screen
+ component = { SecurityDialog }
+ name = { screen.conference.security }
+ options = {{
+ ...securityScreenOptions,
+ title: t('security.title')
+ }} />
+ <ConferenceStack.Screen
+ component = { RecordingTranscriptionDialog }
+ name = { screen.conference.recording }
+ options = {{
+ ...recordingScreenOptions,
+ title: t('dialog.recordAndTranscribe')
+ }} />
+ <ConferenceStack.Screen
+ component = { StartLiveStreamDialog }
+ name = { screen.conference.liveStream }
+ options = {{
+ ...liveStreamScreenOptions,
+ title: t('liveStreaming.title')
+ }} />
+ <ConferenceStack.Screen
+ component = { SpeakerStats }
+ name = { screen.conference.speakerStats }
+ options = {{
+ ...speakerStatsScreenOptions,
+ title: t('speakerStats.speakerStats')
+ }} />
+ <ConferenceStack.Screen
+ component = { SalesforceLinkDialog }
+ name = { screen.conference.salesforce }
+ options = {{
+ ...salesforceScreenOptions,
+ title: t('notify.linkToSalesforce')
+ }} />
+ <ConferenceStack.Screen
+ component = { GifsMenu }
+ name = { screen.conference.gifsMenu }
+ options = {{
+ ...gifsMenuOptions,
+ title: t('notify.gifsMenu')
+ }} />
+ <ConferenceStack.Screen
+ component = { LobbyNavigationContainer }
+ name = { screen.lobby.root }
+ options = {{
+ ...lobbyNavigationContainerScreenOptions,
+ title: t('lobby.title')
+ }} />
+ <ConferenceStack.Screen
+ component = { AddPeopleDialog }
+ name = { screen.conference.invite }
+ options = {{
+ ...inviteScreenOptions,
+ title: t('addPeople.add')
+ }} />
+ <ConferenceStack.Screen
+ component = { SharedDocument }
+ name = { screen.conference.sharedDocument }
+ options = {{
+ ...sharedDocumentScreenOptions,
+ title: t('documentSharing.title')
+ }} />
+ <ConferenceStack.Screen
+ // @ts-ignore
+ component = { SettingsNavigationContainer }
+ name = { screen.settings.main }
+ options = { settingsNavigationContainerScreenOptions } />
+ <ConferenceStack.Screen
+ // @ts-ignore
+ component = { CarMode }
+ name = { screen.conference.carmode }
+ options = {{
+ ...carmodeScreenOptions,
+ title: t('carmode.labels.title')
+ }} />
+ <ConferenceStack.Screen
+ component = { LanguageSelectorDialog }
+ name = { screen.conference.subtitles }
+ options = {{
+ ...subtitlesScreenOptions,
+ title: t('transcribing.subtitles')
+ }} />
+ <ConferenceStack.Screen
+ component = { AudioTranslationDialog }
+ name = { screen.conference.audioTranslation }
+ options = {{
+ ...audioTranslationScreenOptions,
+ title: t('toolbar.audioTranslation')
+ }} />
+ <ConferenceStack.Screen
+ component = { BreakoutRooms }
+ name = { screen.conference.breakoutRooms }
+ options = {{
+ ...breakoutRoomsScreenOptions,
+ title: t('breakoutRooms.title')
+ }} />
+ <ConferenceStack.Screen
+ // @ts-ignore
+ component = { Whiteboard }
+ name = { screen.conference.whiteboard }
+ options = {{
+ ...whiteboardScreenOptions,
+ title: t('whiteboard.screenTitle')
+ }} />
+ </ConferenceStack.Navigator>
+ </NavigationContainer>
+ </NavigationIndependentTree>
);
};
diff --git a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx
index be23564244..ff2e2aa5fd 100644
--- a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx
+++ b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx
@@ -1,4 +1,4 @@
-import { NavigationContainer } from '@react-navigation/native';
+import { NavigationContainer, NavigationIndependentTree } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import React from 'react';
import { useSelector } from 'react-redux';
@@ -22,29 +22,28 @@ const LobbyNavigationContainer = () => {
= useSelector((state: IReduxState) => state['features/chat']);
return (
- <NavigationContainer
- independent = { true }
- ref = { lobbyNavigationContainerRef }
-
- // @ts-ignore
- theme = { navigationContainerTheme }>
- <LobbyStack.Navigator
- screenOptions = {{
- presentation: 'modal'
- }}>
- <LobbyStack.Screen
- component = { LobbyScreen }
- name = { screen.lobby.main }
- options = { lobbyScreenOptions } />
- {
- isLobbyChatActive
- && <LobbyStack.Screen
- component = { LobbyChatScreen }
- name = { screen.lobby.chat }
- options = { lobbyChatScreenOptions } />
- }
- </LobbyStack.Navigator>
- </NavigationContainer>
+ <NavigationIndependentTree>
+ <NavigationContainer
+ ref = { lobbyNavigationContainerRef }
+ theme = { navigationContainerTheme }>
+ <LobbyStack.Navigator
+ screenOptions = {{
+ presentation: 'modal'
+ }}>
+ <LobbyStack.Screen
+ component = { LobbyScreen }
+ name = { screen.lobby.main }
+ options = { lobbyScreenOptions } />
+ {
+ isLobbyChatActive
+ && <LobbyStack.Screen
+ component = { LobbyChatScreen }
+ name = { screen.lobby.chat }
+ options = { lobbyChatScreenOptions } />
+ }
+ </LobbyStack.Navigator>
+ </NavigationContainer>
+ </NavigationIndependentTree>
);
};
diff --git a/react/features/mobile/navigation/components/settings/components/SettingsNavigationContainer.tsx b/react/features/mobile/navigation/components/settings/components/SettingsNavigationContainer.tsx
index 372eb66207..cf501bf55d 100644
--- a/react/features/mobile/navigation/components/settings/components/SettingsNavigationContainer.tsx
+++ b/react/features/mobile/navigation/components/settings/components/SettingsNavigationContainer.tsx
@@ -1,4 +1,4 @@
-import { NavigationContainer, Theme } from '@react-navigation/native';
+import { NavigationContainer, NavigationIndependentTree } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import React, { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
@@ -57,36 +57,37 @@ const SettingsNavigationContainer = ({ isInWelcomePage }: IProps) => {
, []);
return (
- <NavigationContainer
- independent = { true }
- ref = { settingsNavigationContainerRef }
- theme = { navigationContainerTheme as Theme }>
- <SettingsStack.Navigator
- initialRouteName = { screen.settings.main }>
- <SettingsStack.Screen
- name = { screen.settings.main }
- options = {{
- ...baseSettingsScreenOptions,
- title: t('settings.title')
- }}>
- { SettingsScreen }
- </SettingsStack.Screen>
- <SettingsStack.Screen
- component = { ProfileScreen }
- name = { screen.settings.profile }
- options = {{
- ...profileSettingsScreenOptions,
- title: t('settingsView.profileSection')
- }} />
- <SettingsStack.Screen
- component = { LanguageSelectScreen }
- name = { screen.settings.language }
- options = {{
- ...languageSelectScreenOptions,
- title: t('settings.language')
- }} />
- </SettingsStack.Navigator>
- </NavigationContainer>
+ <NavigationIndependentTree>
+ <NavigationContainer
+ ref = { settingsNavigationContainerRef }
+ theme = { navigationContainerTheme }>
+ <SettingsStack.Navigator
+ initialRouteName = { screen.settings.main }>
+ <SettingsStack.Screen
+ name = { screen.settings.main }
+ options = {{
+ ...baseSettingsScreenOptions,
+ title: t('settings.title')
+ }}>
+ { SettingsScreen }
+ </SettingsStack.Screen>
+ <SettingsStack.Screen
+ component = { ProfileScreen }
+ name = { screen.settings.profile }
+ options = {{
+ ...profileSettingsScreenOptions,
+ title: t('settingsView.profileSection')
+ }} />
+ <SettingsStack.Screen
+ component = { LanguageSelectScreen }
+ name = { screen.settings.language }
+ options = {{
+ ...languageSelectScreenOptions,
+ title: t('settings.language')
+ }} />
+ </SettingsStack.Navigator>
+ </NavigationContainer>
+ </NavigationIndependentTree>
);
};
diff --git a/react/features/mobile/navigation/functions.tsx b/react/features/mobile/navigation/functions.tsx
index 48bafc4a33..fe3d4e621a 100644
--- a/react/features/mobile/navigation/functions.tsx
+++ b/react/features/mobile/navigation/functions.tsx
@@ -1,20 +1,14 @@
-import React, { useCallback } from 'react';
-import { useTranslation } from 'react-i18next';
-import { GestureResponderEvent, Platform } from 'react-native';
-import { useDispatch } from 'react-redux';
+import React from 'react';
+import { GestureResponderEvent } from 'react-native';
-
-import { appNavigate } from '../../app/actions.native';
import { IStateful } from '../../base/app/types';
import { PREJOIN_PAGE_ENABLED } from '../../base/flags/constants';
import { getFeatureFlag } from '../../base/flags/functions';
-import { IconCloseLarge } from '../../base/icons/svg';
import { toState } from '../../base/redux/functions';
-import { cancelKnocking } from '../../lobby/actions.native';
import { isPrejoinEnabledInConfig } from '../../prejoin/functions.native';
-import HeaderNavigationButton from './components/HeaderNavigationButton';
-
+import LobbyCloseButton from './components/LobbyCloseButton';
+import ScreenCloseButton from './components/ScreenCloseButton';
/**
* Close icon/text button based on platform.
@@ -23,23 +17,7 @@ import HeaderNavigationButton from './components/HeaderNavigationButton';
* @returns {React.Component}
*/
export function screenHeaderCloseButton(goBack: (e?: GestureResponderEvent | React.MouseEvent) => void) {
- const { t } = useTranslation();
-
- if (Platform.OS === 'ios') {
- return (
- <HeaderNavigationButton
- id = { 'close-screen-button' }
- label = { t('dialog.close') }
- onPress = { goBack } />
- );
- }
-
- return (
- <HeaderNavigationButton
- id = { 'close-screen-button' }
- onPress = { goBack }
- src = { IconCloseLarge } />
- );
+ return () => <ScreenCloseButton goBack = { goBack } />;
}
/**
@@ -63,26 +41,5 @@ export function isPrejoinPageEnabled(stateful: IStateful) {
* @returns {React.Component}
*/
export function lobbyScreenHeaderCloseButton() {
- const dispatch = useDispatch();
- const { t } = useTranslation();
- const goBack = useCallback(() => {
- dispatch(cancelKnocking());
- dispatch(appNavigate(undefined));
- }, [ dispatch ]);
-
- if (Platform.OS === 'ios') {
- return (
- <HeaderNavigationButton
- id = { 'close-screen-button' }
- label = { t('dialog.close') }
- onPress = { goBack } />
- );
- }
-
- return (
- <HeaderNavigationButton
- id = { 'close-screen-button' }
- onPress = { goBack }
- src = { IconCloseLarge } />
- );
+ return LobbyCloseButton;
}
diff --git a/react/features/mobile/navigation/rootNavigationContainerRef.ts b/react/features/mobile/navigation/rootNavigationContainerRef.ts
index ccdae57b17..65bcf8f6fe 100644
--- a/react/features/mobile/navigation/rootNavigationContainerRef.ts
+++ b/react/features/mobile/navigation/rootNavigationContainerRef.ts
@@ -34,6 +34,17 @@ export function replaceRoot(name: string, params?: Object) {
return rootNavigationRef.current?.dispatch(StackActions.replace(name, params));
}
+/**
+ * Pops the root navigation stack back to an existing screen.
+ *
+ * @param {string} name - Destination route name.
+ * @param {Object} params - Params to pass to the destination route.
+ * @returns {void}
+ */
+export function popToRoot(name: string, params?: Object) {
+ return rootNavigationRef.current?.dispatch(StackActions.popTo(name, params));
+}
+
/**
* User defined navigation action included inside the reference to the container.
*
@@ -54,7 +65,8 @@ export function goBackToRoot(stateful: IStateful, dispatch: IStore['dispatch'])
const state = toState(stateful);
if (isWelcomePageEnabled(state)) {
- navigateRoot(screen.welcome.main);
+ // popTo, because navigate no longer pops back to an existing screen.
+ popToRoot(screen.welcome.main);
} else {
// For JitsiSDK, WelcomePage is not available
_sendReadyToClose(dispatch);
diff --git a/react/features/mobile/navigation/screenOptions.ts b/react/features/mobile/navigation/screenOptions.ts
index f51c897589..cb40d34398 100644
--- a/react/features/mobile/navigation/screenOptions.ts
+++ b/react/features/mobile/navigation/screenOptions.ts
@@ -1,3 +1,4 @@
+import { DefaultTheme } from '@react-navigation/native';
import { TransitionPresets } from '@react-navigation/stack';
import { Platform } from 'react-native';
@@ -30,7 +31,9 @@ export const fullScreenOptions = {
* Navigation container theme.
*/
export const navigationContainerTheme = {
+ ...DefaultTheme,
colors: {
+ ...DefaultTheme.colors,
background: BaseTheme.palette.uiBackground
}
};
@@ -80,8 +83,8 @@ export const chatTabBarOptions = {
*/
export const presentationScreenOptions = {
...modalPresentation,
- headerBackTitleVisible: false,
- headerLeft: () => screenHeaderCloseButton(goBack),
+ headerBackButtonDisplayMode: 'minimal' as const,
+ headerLeft: screenHeaderCloseButton(goBack),
headerStatusBarHeight: 0,
headerStyle: {
backgroundColor: BaseTheme.palette.ui01
@@ -111,7 +114,7 @@ export const chatScreenOptions = presentationScreenOptions;
*/
export const dialInSummaryScreenOptions = {
...presentationScreenOptions,
- headerLeft: () => screenHeaderCloseButton(goBackToWelcomeScreen)
+ headerLeft: screenHeaderCloseButton(goBackToWelcomeScreen)
};
/**
@@ -159,7 +162,7 @@ export const subtitlesScreenOptions = presentationScreenOptions;
*/
export const lobbyScreenOptions = {
...presentationScreenOptions,
- headerLeft: () => lobbyScreenHeaderCloseButton()
+ headerLeft: lobbyScreenHeaderCloseButton()
};
/**
@@ -167,7 +170,7 @@ export const lobbyScreenOptions = {
*/
export const lobbyChatScreenOptions = {
...presentationScreenOptions,
- headerLeft: () => screenHeaderCloseButton(goBackToLobbyScreen)
+ headerLeft: screenHeaderCloseButton(goBackToLobbyScreen)
};
/**
@@ -226,7 +229,7 @@ export const profileSettingsScreenOptions = {
headerTitleStyle: {
color: BaseTheme.palette.text01
},
- headerBackTitleVisible: false
+ headerBackButtonDisplayMode: 'minimal' as const
};
/**
diff --git a/react/features/whiteboard/actions.native.ts b/react/features/whiteboard/actions.native.ts
index 84d3c7200c..4633a75926 100644
--- a/react/features/whiteboard/actions.native.ts
+++ b/react/features/whiteboard/actions.native.ts
@@ -2,7 +2,7 @@ import { createRestrictWhiteboardEvent } from '../analytics/AnalyticsEvents';
import { sendAnalytics } from '../analytics/functions';
import { IStore } from '../app/types';
import {
- navigate
+ popTo
} from '../mobile/navigation/components/conference/ConferenceNavigationContainerRef';
import { screen } from '../mobile/navigation/routes';
@@ -19,7 +19,7 @@ export * from './actions.any';
*/
export const restrictWhiteboard = (shouldCloseWhiteboard = true) => (dispatch: IStore['dispatch']) => {
if (shouldCloseWhiteboard) {
- navigate(screen.conference.root);
+ popTo(screen.conference.main);
}
dispatch(resetWhiteboard());
sendAnalytics(createRestrictWhiteboardEvent());