Chore: upgrade react navigation to 6.0.10 version (#4120)
This commit is contained in:
parent
496d3f2ceb
commit
6220375f7b
|
@ -14,7 +14,7 @@ buildscript {
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 30
|
||||||
ndkVersion = "20.1.5948944"
|
ndkVersion = "20.1.5948944"
|
||||||
glideVersion = "4.11.0"
|
glideVersion = "4.11.0"
|
||||||
kotlin_version = "1.3.50"
|
kotlin_version = "1.6.10"
|
||||||
supportLibVersion = "28.0.0"
|
supportLibVersion = "28.0.0"
|
||||||
libre_build = !(isPlay.toBoolean())
|
libre_build = !(isPlay.toBoolean())
|
||||||
jitsi_url = isPlay ? "https://github.com/RocketChat/jitsi-maven-repository/raw/master/releases" : "https://github.com/RocketChat/jitsi-maven-repository/raw/libre/releases"
|
jitsi_url = isPlay ? "https://github.com/RocketChat/jitsi-maven-repository/raw/master/releases" : "https://github.com/RocketChat/jitsi-maven-repository/raw/libre/releases"
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { themedHeader } from '../../utils/navigation';
|
||||||
import { isIOS, isTablet } from '../../utils/deviceInfo';
|
import { isIOS, isTablet } from '../../utils/deviceInfo';
|
||||||
import { useTheme } from '../../theme';
|
import { useTheme } from '../../theme';
|
||||||
|
|
||||||
export const headerHeight = isIOS ? 44 : 56;
|
export const headerHeight = isIOS ? 50 : 56;
|
||||||
|
|
||||||
export const getHeaderHeight = (isLandscape: boolean): number => {
|
export const getHeaderHeight = (isLandscape: boolean): number => {
|
||||||
if (isIOS) {
|
if (isIOS) {
|
||||||
|
@ -34,7 +34,7 @@ export const getHeaderTitlePosition = ({
|
||||||
left: number;
|
left: number;
|
||||||
right: number;
|
right: number;
|
||||||
} => ({
|
} => ({
|
||||||
left: insets.left + 60,
|
left: insets.left,
|
||||||
right: insets.right + Math.max(45 * numIconsRight, 15)
|
right: insets.right + Math.max(45 * numIconsRight, 15)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,9 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { CommonActions, NavigationContainerRef, StackActions } from '@react-navigation/native';
|
import { CommonActions, NavigationContainerRef, StackActions } from '@react-navigation/native';
|
||||||
|
|
||||||
const navigationRef = React.createRef<NavigationContainerRef>();
|
// TODO: we need change this any to the correctly types from our stacks
|
||||||
const routeNameRef: React.MutableRefObject<NavigationContainerRef | null> = React.createRef();
|
const navigationRef = React.createRef<NavigationContainerRef<any>>();
|
||||||
|
const routeNameRef: React.MutableRefObject<NavigationContainerRef<any> | null> = React.createRef();
|
||||||
|
|
||||||
function navigate(name: string, params?: any) {
|
function navigate(name: string, params?: any) {
|
||||||
navigationRef.current?.navigate(name, params);
|
navigationRef.current?.navigate(name, params);
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { NavigationContainerRef } from '@react-navigation/native';
|
import { NavigationContainerRef } from '@react-navigation/native';
|
||||||
|
|
||||||
const navigationRef = React.createRef<NavigationContainerRef>();
|
// TODO: we need change this any to the correctly types from our stacks
|
||||||
const routeNameRef: React.MutableRefObject<NavigationContainerRef | null> = React.createRef();
|
const navigationRef = React.createRef<NavigationContainerRef<any>>();
|
||||||
|
const routeNameRef: React.MutableRefObject<NavigationContainerRef<any> | null> = React.createRef();
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
navigationRef,
|
navigationRef,
|
||||||
|
|
|
@ -225,10 +225,14 @@ const DrawerNavigator = () => {
|
||||||
<Drawer.Navigator
|
<Drawer.Navigator
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
drawerContent={({ navigation, state }) => <Sidebar navigation={navigation} state={state} />}
|
drawerContent={({ navigation, state }) => <Sidebar navigation={navigation} state={state} />}
|
||||||
drawerPosition={I18nManager.isRTL ? 'right' : 'left'}
|
useLegacyImplementation={true}
|
||||||
screenOptions={{ swipeEnabled: false }}
|
screenOptions={{
|
||||||
drawerType='back'
|
swipeEnabled: false,
|
||||||
overlayColor={`rgba(0,0,0,${themes[theme].backdropOpacity})`}>
|
headerShown: false,
|
||||||
|
drawerPosition: I18nManager.isRTL ? 'right' : 'left',
|
||||||
|
drawerType: 'back',
|
||||||
|
overlayColor: `rgba(0,0,0,${themes[theme].backdropOpacity})`
|
||||||
|
}}>
|
||||||
<Drawer.Screen name='ChatsStackNavigator' component={ChatsStackNavigator} />
|
<Drawer.Screen name='ChatsStackNavigator' component={ChatsStackNavigator} />
|
||||||
<Drawer.Screen name='ProfileStackNavigator' component={ProfileStackNavigator} />
|
<Drawer.Screen name='ProfileStackNavigator' component={ProfileStackNavigator} />
|
||||||
<Drawer.Screen name='SettingsStackNavigator' component={SettingsStackNavigator} />
|
<Drawer.Screen name='SettingsStackNavigator' component={SettingsStackNavigator} />
|
||||||
|
@ -303,7 +307,8 @@ const InsideStackNavigator = () => {
|
||||||
const { theme } = React.useContext(ThemeContext);
|
const { theme } = React.useContext(ThemeContext);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<InsideStack.Navigator mode='modal' screenOptions={{ ...defaultHeader, ...themedHeader(theme), ...ModalAnimation }}>
|
<InsideStack.Navigator
|
||||||
|
screenOptions={{ ...defaultHeader, ...themedHeader(theme), ...ModalAnimation, presentation: 'transparentModal' }}>
|
||||||
<InsideStack.Screen name='DrawerNavigator' component={DrawerNavigator} options={{ headerShown: false }} />
|
<InsideStack.Screen name='DrawerNavigator' component={DrawerNavigator} options={{ headerShown: false }} />
|
||||||
<InsideStack.Screen name='NewMessageStackNavigator' component={NewMessageStackNavigator} options={{ headerShown: false }} />
|
<InsideStack.Screen name='NewMessageStackNavigator' component={NewMessageStackNavigator} options={{ headerShown: false }} />
|
||||||
<InsideStack.Screen
|
<InsideStack.Screen
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { createStackNavigator, StackNavigationOptions, StackNavigationProp } fro
|
||||||
import { createDrawerNavigator } from '@react-navigation/drawer';
|
import { createDrawerNavigator } from '@react-navigation/drawer';
|
||||||
|
|
||||||
import { ThemeContext } from '../../theme';
|
import { ThemeContext } from '../../theme';
|
||||||
import { FadeFromCenterModal, StackAnimation, defaultHeader, themedHeader } from '../../utils/navigation';
|
import { FadeFromCenterModal, StackAnimation, defaultHeader, themedHeader, drawerStyle } from '../../utils/navigation';
|
||||||
// Chats Stack
|
// Chats Stack
|
||||||
import RoomView from '../../views/RoomView';
|
import RoomView from '../../views/RoomView';
|
||||||
import RoomsListView from '../../views/RoomsListView';
|
import RoomsListView from '../../views/RoomsListView';
|
||||||
|
@ -96,9 +96,8 @@ const ChatsStackNavigator = React.memo(() => {
|
||||||
const Drawer = createDrawerNavigator<MasterDetailDrawerParamList>();
|
const Drawer = createDrawerNavigator<MasterDetailDrawerParamList>();
|
||||||
const DrawerNavigator = React.memo(() => (
|
const DrawerNavigator = React.memo(() => (
|
||||||
<Drawer.Navigator
|
<Drawer.Navigator
|
||||||
// @ts-ignore
|
screenOptions={{ drawerType: 'permanent', headerShown: false, drawerStyle: { ...drawerStyle } }}
|
||||||
drawerContent={({ navigation, state }) => <RoomsListView navigation={navigation} state={state} />}
|
drawerContent={({ navigation, state }) => <RoomsListView navigation={navigation} state={state} />}>
|
||||||
drawerType='permanent'>
|
|
||||||
<Drawer.Screen name='ChatsStackNavigator' component={ChatsStackNavigator} />
|
<Drawer.Screen name='ChatsStackNavigator' component={ChatsStackNavigator} />
|
||||||
</Drawer.Navigator>
|
</Drawer.Navigator>
|
||||||
));
|
));
|
||||||
|
@ -231,8 +230,14 @@ const InsideStackNavigator = React.memo(() => {
|
||||||
const { theme } = React.useContext(ThemeContext);
|
const { theme } = React.useContext(ThemeContext);
|
||||||
return (
|
return (
|
||||||
<InsideStack.Navigator
|
<InsideStack.Navigator
|
||||||
mode='modal'
|
screenOptions={
|
||||||
screenOptions={{ ...defaultHeader, ...themedHeader(theme), ...FadeFromCenterModal } as StackNavigationOptions}>
|
{
|
||||||
|
...defaultHeader,
|
||||||
|
...themedHeader(theme),
|
||||||
|
...FadeFromCenterModal,
|
||||||
|
presentation: 'transparentModal'
|
||||||
|
} as StackNavigationOptions
|
||||||
|
}>
|
||||||
<InsideStack.Screen name='DrawerNavigator' component={DrawerNavigator} options={{ headerShown: false }} />
|
<InsideStack.Screen name='DrawerNavigator' component={DrawerNavigator} options={{ headerShown: false }} />
|
||||||
<InsideStack.Screen name='ModalStackNavigator' component={ModalStackNavigator} options={{ headerShown: false }} />
|
<InsideStack.Screen name='ModalStackNavigator' component={ModalStackNavigator} options={{ headerShown: false }} />
|
||||||
<InsideStack.Screen name='AttachmentView' component={AttachmentView} />
|
<InsideStack.Screen name='AttachmentView' component={AttachmentView} />
|
||||||
|
|
|
@ -45,7 +45,8 @@ const OutsideStackModal = () => {
|
||||||
const { theme } = React.useContext(ThemeContext);
|
const { theme } = React.useContext(ThemeContext);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<OutsideModal.Navigator mode='modal' screenOptions={{ ...defaultHeader, ...themedHeader(theme), ...ModalAnimation }}>
|
<OutsideModal.Navigator
|
||||||
|
screenOptions={{ ...defaultHeader, ...themedHeader(theme), ...ModalAnimation, presentation: 'transparentModal' }}>
|
||||||
<OutsideModal.Screen name='OutsideStack' component={OutsideStack} options={{ headerShown: false }} />
|
<OutsideModal.Screen name='OutsideStack' component={OutsideStack} options={{ headerShown: false }} />
|
||||||
<OutsideModal.Screen
|
<OutsideModal.Screen
|
||||||
name='AuthenticationWebView'
|
name='AuthenticationWebView'
|
||||||
|
|
|
@ -22,6 +22,10 @@ export const borderBottom: any = (theme: TSupportedThemes) => ({
|
||||||
elevation: 0
|
elevation: 0
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const drawerStyle = {
|
||||||
|
width: 320
|
||||||
|
};
|
||||||
|
|
||||||
export const themedHeader = (theme: TSupportedThemes) => ({
|
export const themedHeader = (theme: TSupportedThemes) => ({
|
||||||
headerStyle: {
|
headerStyle: {
|
||||||
...borderBottom(theme),
|
...borderBottom(theme),
|
||||||
|
|
|
@ -95,8 +95,11 @@ class AttachmentView extends React.Component<IAttachmentViewProps, IAttachmentVi
|
||||||
Allow_Save_Media_to_Gallery ? <HeaderButton.Download testID='save-image' onPress={this.handleSave} /> : null,
|
Allow_Save_Media_to_Gallery ? <HeaderButton.Download testID='save-image' onPress={this.handleSave} /> : null,
|
||||||
headerBackground: () => <View style={{ flex: 1, backgroundColor: themes[theme].previewBackground }} />,
|
headerBackground: () => <View style={{ flex: 1, backgroundColor: themes[theme].previewBackground }} />,
|
||||||
headerTintColor: themes[theme].previewTintColor,
|
headerTintColor: themes[theme].previewTintColor,
|
||||||
headerTitleStyle: { color: themes[theme].previewTintColor, marginHorizontal: 10 }
|
headerTitleStyle: { color: themes[theme].previewTintColor, paddingHorizontal: 20 },
|
||||||
|
headerTitleContainerStyle: { marginHorizontal: -20 },
|
||||||
|
headerTitleAlign: 'center'
|
||||||
};
|
};
|
||||||
|
// @ts-ignore
|
||||||
navigation.setOptions(options);
|
navigation.setOptions(options);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,8 @@ import React, { useEffect, useState, useCallback } from 'react';
|
||||||
import { FlatList } from 'react-native';
|
import { FlatList } from 'react-native';
|
||||||
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
||||||
import { RouteProp } from '@react-navigation/native';
|
import { RouteProp } from '@react-navigation/native';
|
||||||
import { HeaderBackButton, StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack';
|
import { StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack';
|
||||||
|
import { HeaderBackButton } from '@react-navigation/elements';
|
||||||
|
|
||||||
import database from '../../lib/database';
|
import database from '../../lib/database';
|
||||||
import I18n from '../../i18n';
|
import I18n from '../../i18n';
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
import React, { useEffect, useLayoutEffect, useState } from 'react';
|
import React, { useEffect, useLayoutEffect, useState } from 'react';
|
||||||
import { FlatList, StyleSheet } from 'react-native';
|
import { FlatList, StyleSheet } from 'react-native';
|
||||||
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
||||||
import { HeaderBackButton, StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack';
|
import { StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack';
|
||||||
|
import { HeaderBackButton } from '@react-navigation/elements';
|
||||||
import { RouteProp } from '@react-navigation/core';
|
import { RouteProp } from '@react-navigation/core';
|
||||||
|
|
||||||
import { IMessageFromServer } from '../../definitions';
|
import { IMessageFromServer } from '../../definitions';
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { StyleSheet } from 'react-native';
|
import { StyleSheet } from 'react-native';
|
||||||
import { HeaderBackButton, StackNavigationProp } from '@react-navigation/stack';
|
import { StackNavigationProp } from '@react-navigation/stack';
|
||||||
|
import { HeaderBackButton } from '@react-navigation/elements';
|
||||||
|
|
||||||
import { themes } from '../../lib/constants';
|
import { themes } from '../../lib/constants';
|
||||||
import Avatar from '../../containers/Avatar';
|
import Avatar from '../../containers/Avatar';
|
||||||
|
|
|
@ -43,7 +43,6 @@ import { getUserSelector } from '../../selectors/login';
|
||||||
import Navigation from '../../lib/navigation/appNavigation';
|
import Navigation from '../../lib/navigation/appNavigation';
|
||||||
import SafeAreaView from '../../containers/SafeAreaView';
|
import SafeAreaView from '../../containers/SafeAreaView';
|
||||||
import { withDimensions } from '../../dimensions';
|
import { withDimensions } from '../../dimensions';
|
||||||
import { getHeaderTitlePosition } from '../../containers/Header';
|
|
||||||
import { takeInquiry, takeResume } from '../../ee/omnichannel/lib';
|
import { takeInquiry, takeResume } from '../../ee/omnichannel/lib';
|
||||||
import Loading from '../../containers/Loading';
|
import Loading from '../../containers/Loading';
|
||||||
import { goRoom, TGoRoomItem } from '../../utils/goRoom';
|
import { goRoom, TGoRoomItem } from '../../utils/goRoom';
|
||||||
|
@ -446,7 +445,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
||||||
|
|
||||||
setHeader = () => {
|
setHeader = () => {
|
||||||
const { room, unreadsCount, roomUserId, joined } = this.state;
|
const { room, unreadsCount, roomUserId, joined } = this.state;
|
||||||
const { navigation, isMasterDetail, theme, baseUrl, user, insets, route } = this.props;
|
const { navigation, isMasterDetail, theme, baseUrl, user, route } = this.props;
|
||||||
const { rid, tmid } = this;
|
const { rid, tmid } = this;
|
||||||
if (!room.rid) {
|
if (!room.rid) {
|
||||||
return;
|
return;
|
||||||
|
@ -496,15 +495,11 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
||||||
} else if (teamId && isTeamRoom({ teamId, joined })) {
|
} else if (teamId && isTeamRoom({ teamId, joined })) {
|
||||||
numIconsRight = 3;
|
numIconsRight = 3;
|
||||||
}
|
}
|
||||||
const headerTitlePosition = getHeaderTitlePosition({ insets, numIconsRight });
|
const paddingRight = this.getPaddingLeft(numIconsRight, isMasterDetail);
|
||||||
|
|
||||||
navigation.setOptions({
|
navigation.setOptions({
|
||||||
headerShown: true,
|
headerShown: true,
|
||||||
headerTitleAlign: 'left',
|
headerTitleAlign: 'left',
|
||||||
headerTitleContainerStyle: {
|
headerTitleContainerStyle: { paddingRight },
|
||||||
left: headerTitlePosition.left,
|
|
||||||
right: headerTitlePosition.right
|
|
||||||
},
|
|
||||||
headerLeft: () => (
|
headerLeft: () => (
|
||||||
<LeftButtons
|
<LeftButtons
|
||||||
tmid={tmid}
|
tmid={tmid}
|
||||||
|
@ -553,6 +548,13 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
getPaddingLeft = (numIcons: number, isMasterDetail: boolean) => {
|
||||||
|
if (numIcons === 3) {
|
||||||
|
return isMasterDetail ? 40 : 35;
|
||||||
|
}
|
||||||
|
return isMasterDetail ? 20 : 0;
|
||||||
|
};
|
||||||
|
|
||||||
goRoomActionsView = (screen?: keyof ModalStackParamList) => {
|
goRoomActionsView = (screen?: keyof ModalStackParamList) => {
|
||||||
logEvent(events.ROOM_GO_RA);
|
logEvent(events.ROOM_GO_RA);
|
||||||
const { room, member, joined } = this.state;
|
const { room, member, joined } = this.state;
|
||||||
|
|
|
@ -21,6 +21,7 @@ const styles = StyleSheet.create({
|
||||||
alignItems: 'center'
|
alignItems: 'center'
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
|
flexShrink: 1,
|
||||||
...sharedStyles.textSemibold
|
...sharedStyles.textSemibold
|
||||||
},
|
},
|
||||||
subtitle: {
|
subtitle: {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import React from 'react';
|
|
||||||
import { Q } from '@nozbe/watermelondb';
|
import { Q } from '@nozbe/watermelondb';
|
||||||
import { HeaderBackButton, StackNavigationOptions } from '@react-navigation/stack';
|
import { StackNavigationOptions } from '@react-navigation/stack';
|
||||||
|
import { HeaderBackButton } from '@react-navigation/elements';
|
||||||
|
import React from 'react';
|
||||||
import { Alert, FlatList, Keyboard } from 'react-native';
|
import { Alert, FlatList, Keyboard } from 'react-native';
|
||||||
import { EdgeInsets, withSafeAreaInsets } from 'react-native-safe-area-context';
|
import { EdgeInsets, withSafeAreaInsets } from 'react-native-safe-area-context';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|
|
@ -4,7 +4,8 @@ import { connect } from 'react-redux';
|
||||||
import { Q } from '@nozbe/watermelondb';
|
import { Q } from '@nozbe/watermelondb';
|
||||||
import { sanitizedRaw } from '@nozbe/watermelondb/RawRecord';
|
import { sanitizedRaw } from '@nozbe/watermelondb/RawRecord';
|
||||||
import { EdgeInsets, withSafeAreaInsets } from 'react-native-safe-area-context';
|
import { EdgeInsets, withSafeAreaInsets } from 'react-native-safe-area-context';
|
||||||
import { HeaderBackButton, StackNavigationOptions } from '@react-navigation/stack';
|
import { StackNavigationOptions } from '@react-navigation/stack';
|
||||||
|
import { HeaderBackButton } from '@react-navigation/elements';
|
||||||
import { Observable, Subscription } from 'rxjs';
|
import { Observable, Subscription } from 'rxjs';
|
||||||
|
|
||||||
import ActivityIndicator from '../../containers/ActivityIndicator';
|
import ActivityIndicator from '../../containers/ActivityIndicator';
|
||||||
|
|
|
@ -580,8 +580,9 @@ PODS:
|
||||||
- Yoga
|
- Yoga
|
||||||
- RNRootView (1.0.3):
|
- RNRootView (1.0.3):
|
||||||
- React
|
- React
|
||||||
- RNScreens (2.9.0):
|
- RNScreens (3.11.0):
|
||||||
- React
|
- React-Core
|
||||||
|
- React-RCTImage
|
||||||
- RNSVG (12.3.0):
|
- RNSVG (12.3.0):
|
||||||
- React-Core
|
- React-Core
|
||||||
- RNVectorIcons (8.1.0):
|
- RNVectorIcons (8.1.0):
|
||||||
|
@ -960,7 +961,7 @@ SPEC CHECKSUMS:
|
||||||
EXVideoThumbnails: 442c3abadb51a81551a3b53705b7560de390e6f7
|
EXVideoThumbnails: 442c3abadb51a81551a3b53705b7560de390e6f7
|
||||||
EXWebBrowser: 76783ba5dcb8699237746ecf41a9643d428a4cc5
|
EXWebBrowser: 76783ba5dcb8699237746ecf41a9643d428a4cc5
|
||||||
FBLazyVector: c9b6dfcde9b3d497793c40d4ccbfbfb05092e0df
|
FBLazyVector: c9b6dfcde9b3d497793c40d4ccbfbfb05092e0df
|
||||||
FBReactNativeSpec: c39f7fc0cd6cc64f0a2a5beffc64b1aa5d42740e
|
FBReactNativeSpec: f41358a735632327671ea9a34346fcb01a538da3
|
||||||
Firebase: 919186c8e119dd9372a45fd1dd17a8a942bc1892
|
Firebase: 919186c8e119dd9372a45fd1dd17a8a942bc1892
|
||||||
FirebaseAnalytics: 5fa308e1b13f838d0f6dc74719ac2a72e8c5afc4
|
FirebaseAnalytics: 5fa308e1b13f838d0f6dc74719ac2a72e8c5afc4
|
||||||
FirebaseCore: 8cd4f8ea22075e0ee582849b1cf79d8816506085
|
FirebaseCore: 8cd4f8ea22075e0ee582849b1cf79d8816506085
|
||||||
|
@ -1050,7 +1051,7 @@ SPEC CHECKSUMS:
|
||||||
RNLocalize: 82a569022724d35461e2dc5b5d015a13c3ca995b
|
RNLocalize: 82a569022724d35461e2dc5b5d015a13c3ca995b
|
||||||
RNReanimated: 241c586663f44f19a53883c63375fdd041253960
|
RNReanimated: 241c586663f44f19a53883c63375fdd041253960
|
||||||
RNRootView: 895a4813dedeaca82db2fa868ca1c333d790e494
|
RNRootView: 895a4813dedeaca82db2fa868ca1c333d790e494
|
||||||
RNScreens: c526239bbe0e957b988dacc8d75ac94ec9cb19da
|
RNScreens: fd535547baa4ef8aeaee1a8b1e3ffd17b8df44a4
|
||||||
RNSVG: 302bfc9905bd8122f08966dc2ce2d07b7b52b9f8
|
RNSVG: 302bfc9905bd8122f08966dc2ce2d07b7b52b9f8
|
||||||
RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4
|
RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4
|
||||||
SDWebImage: 0905f1b7760fc8ac4198cae0036600d67478751e
|
SDWebImage: 0905f1b7760fc8ac4198cae0036600d67478751e
|
||||||
|
|
|
@ -47,9 +47,10 @@
|
||||||
"@react-native-firebase/analytics": "^7.3.1",
|
"@react-native-firebase/analytics": "^7.3.1",
|
||||||
"@react-native-firebase/app": "^8.2.0",
|
"@react-native-firebase/app": "^8.2.0",
|
||||||
"@react-native-firebase/crashlytics": "^8.1.2",
|
"@react-native-firebase/crashlytics": "^8.1.2",
|
||||||
"@react-navigation/drawer": "5.12.5",
|
"@react-navigation/drawer": "6.4.1",
|
||||||
"@react-navigation/native": "5.9.4",
|
"@react-navigation/elements": "^1.3.3",
|
||||||
"@react-navigation/stack": "5.14.5",
|
"@react-navigation/native": "6.0.10",
|
||||||
|
"@react-navigation/stack": "6.2.1",
|
||||||
"@rocket.chat/message-parser": "0.30.0",
|
"@rocket.chat/message-parser": "0.30.0",
|
||||||
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
|
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
|
||||||
"@rocket.chat/ui-kit": "^0.31.11",
|
"@rocket.chat/ui-kit": "^0.31.11",
|
||||||
|
@ -111,7 +112,7 @@
|
||||||
"react-native-reanimated": "2.2.2",
|
"react-native-reanimated": "2.2.2",
|
||||||
"react-native-restart": "0.0.22",
|
"react-native-restart": "0.0.22",
|
||||||
"react-native-safe-area-context": "3.2.0",
|
"react-native-safe-area-context": "3.2.0",
|
||||||
"react-native-screens": "2.9.0",
|
"react-native-screens": "3.11.0",
|
||||||
"react-native-scrollable-tab-view": "^1.0.0",
|
"react-native-scrollable-tab-view": "^1.0.0",
|
||||||
"react-native-simple-crypto": "RocketChat/react-native-simple-crypto#0.5.0",
|
"react-native-simple-crypto": "RocketChat/react-native-simple-crypto#0.5.0",
|
||||||
"react-native-slowlog": "^1.0.2",
|
"react-native-slowlog": "^1.0.2",
|
||||||
|
|
File diff suppressed because one or more lines are too long
100
yarn.lock
100
yarn.lock
|
@ -3924,48 +3924,56 @@
|
||||||
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-1.0.0.tgz#05bb0031533598f9458cf65a502b8df0eecae780"
|
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-1.0.0.tgz#05bb0031533598f9458cf65a502b8df0eecae780"
|
||||||
integrity sha512-0jbp4RxjYopTsIdLl+/Fy2TiwVYHy4mgeu07DG4b/LyM0OS/+lPP5c9sbnt/AMlnF6qz2JRZpPpGw1eMNS6A4w==
|
integrity sha512-0jbp4RxjYopTsIdLl+/Fy2TiwVYHy4mgeu07DG4b/LyM0OS/+lPP5c9sbnt/AMlnF6qz2JRZpPpGw1eMNS6A4w==
|
||||||
|
|
||||||
"@react-navigation/core@^5.15.3":
|
"@react-navigation/core@^6.2.1":
|
||||||
version "5.15.3"
|
version "6.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-5.15.3.tgz#dce7090bf3ea0d302993d742c706825e495b812e"
|
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.2.1.tgz#90459f9afd25b71a9471b0706ebea2cdd2534fc4"
|
||||||
integrity sha512-3ZdyDInh8qg1kygCNkmh9lFgpDf29lTvPsaMe2mm/qvmxLKSgttWBz07P2fc181aV9jTdgQpzYfWZ5KWT036zw==
|
integrity sha512-3mjS6ujwGnPA/BC11DN9c2c42gFld6B6dQBgDedxP2djceXESpY2kVTTwISDHuqFnF7WjvRjsrDu3cKBX+JosA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@react-navigation/routers" "^5.7.2"
|
"@react-navigation/routers" "^6.1.0"
|
||||||
escape-string-regexp "^4.0.0"
|
escape-string-regexp "^4.0.0"
|
||||||
nanoid "^3.1.15"
|
nanoid "^3.1.23"
|
||||||
query-string "^6.13.6"
|
query-string "^7.0.0"
|
||||||
react-is "^16.13.0"
|
react-is "^16.13.0"
|
||||||
|
|
||||||
"@react-navigation/drawer@5.12.5":
|
"@react-navigation/drawer@6.4.1":
|
||||||
version "5.12.5"
|
version "6.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@react-navigation/drawer/-/drawer-5.12.5.tgz#463bd33b29bfcefaa474207b50c2bd3bac6dae79"
|
resolved "https://registry.yarnpkg.com/@react-navigation/drawer/-/drawer-6.4.1.tgz#de488b8fa6f18a75318aa0f0edd9efea8be46285"
|
||||||
integrity sha512-WMfz/tKg/K7QBb5rhjXW/pho4zXh3OoHXnHETk5SuVzHlDPM7r84uvAeC5l+ySp5jmipLrJn3zL+kfv9+KKHZQ==
|
integrity sha512-CTVkiyhytUr4hUvWH8mEEGZ2BLcbFfWCHhanKisMBdq6qXMOIXoMX7AzOvjP8ojI1pvJZenvs8fopembGwUNUA==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@react-navigation/elements" "^1.3.3"
|
||||||
color "^3.1.3"
|
color "^3.1.3"
|
||||||
react-native-iphone-x-helper "^1.3.0"
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
"@react-navigation/native@5.9.4":
|
"@react-navigation/elements@^1.3.3":
|
||||||
version "5.9.4"
|
version "1.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-5.9.4.tgz#414c044423c58aa1cdde1b6494309e0b51da08b8"
|
resolved "https://registry.yarnpkg.com/@react-navigation/elements/-/elements-1.3.3.tgz#9f56b650a9a1a8263a271628be7342c8121d1788"
|
||||||
integrity sha512-BUCrOXfZDdKWBqM8OhOKQhCX5we4HUo5XG6tCQtVqQAep+7UcApZmMUuemUXDxVe8NPESUpoUlB0RaEpyIdfTQ==
|
integrity sha512-Lv2lR7si5gNME8dRsqz57d54m4FJtrwHRjNQLOyQO546ZxO+g864cSvoLC6hQedQU0+IJnPTsZiEI2hHqfpEpw==
|
||||||
|
|
||||||
|
"@react-navigation/native@6.0.10":
|
||||||
|
version "6.0.10"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-6.0.10.tgz#c58aa176eb0e63f3641c83a65c509faf253e4385"
|
||||||
|
integrity sha512-H6QhLeiieGxNcAJismIDXIPZgf1myr7Og8v116tezIGmincJTOcWavTd7lPHGnMMXaZg94LlVtbaBRIx9cexqw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@react-navigation/core" "^5.15.3"
|
"@react-navigation/core" "^6.2.1"
|
||||||
escape-string-regexp "^4.0.0"
|
escape-string-regexp "^4.0.0"
|
||||||
nanoid "^3.1.15"
|
fast-deep-equal "^3.1.3"
|
||||||
|
nanoid "^3.1.23"
|
||||||
|
|
||||||
"@react-navigation/routers@^5.7.2":
|
"@react-navigation/routers@^6.1.0":
|
||||||
version "5.7.2"
|
version "6.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-5.7.2.tgz#069d0a707b30ba2e27a32b6482531d0ff7317136"
|
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-6.1.0.tgz#d5682be88f1eb7809527c48f9cd3dedf4f344e40"
|
||||||
integrity sha512-BxNSMLHpU+oS37Xok0ql6rc9U7IC8aUD4+U5ZPbjDJ0pwzZxGGh0YOEBzfV4k/Ig3cbPdvVWbc1C9HHbCVr2oQ==
|
integrity sha512-8xJL+djIzpFdRW/sGlKojQ06fWgFk1c5jER9501HYJ12LF5DIJFr/tqBI2TJ6bk+y+QFu0nbNyeRC80OjRlmkA==
|
||||||
dependencies:
|
dependencies:
|
||||||
nanoid "^3.1.15"
|
nanoid "^3.1.23"
|
||||||
|
|
||||||
"@react-navigation/stack@5.14.5":
|
"@react-navigation/stack@6.2.1":
|
||||||
version "5.14.5"
|
version "6.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-5.14.5.tgz#dc615cd7d270ba79e3330dcb50c2819d0e1f3850"
|
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-6.2.1.tgz#2b14473579eced6def5cca06860044d60e59d06e"
|
||||||
integrity sha512-hpdn1SS0tc3/3atkV2Q2y++n5B4e0rUcCj4W43PODMu72yX2m0LkKAAcpkPDCWAvwnLLIoLAEl5BEifZigl/6A==
|
integrity sha512-JI7boxtPAMCBXi4VJHVEq61jLVHFW5f3npvbndS+XfOsv7Gf0f91HOVJ28DS5c2Fn4+CO4AByjUozzlN296X+A==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@react-navigation/elements" "^1.3.3"
|
||||||
color "^3.1.3"
|
color "^3.1.3"
|
||||||
react-native-iphone-x-helper "^1.3.0"
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
"@redux-saga/core@^1.1.3":
|
"@redux-saga/core@^1.1.3":
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
|
@ -13098,7 +13106,7 @@ nan@^2.14.0:
|
||||||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
|
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
|
||||||
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
|
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
|
||||||
|
|
||||||
nanoid@3.1.23, nanoid@^3.1.15:
|
nanoid@3.1.23:
|
||||||
version "3.1.23"
|
version "3.1.23"
|
||||||
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
|
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
|
||||||
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==
|
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==
|
||||||
|
@ -14557,10 +14565,10 @@ query-string@^5.0.1:
|
||||||
object-assign "^4.1.0"
|
object-assign "^4.1.0"
|
||||||
strict-uri-encode "^1.0.0"
|
strict-uri-encode "^1.0.0"
|
||||||
|
|
||||||
query-string@^6.13.6:
|
query-string@^7.0.0:
|
||||||
version "6.14.1"
|
version "7.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a"
|
resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1"
|
||||||
integrity sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==
|
integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w==
|
||||||
dependencies:
|
dependencies:
|
||||||
decode-uri-component "^0.2.0"
|
decode-uri-component "^0.2.0"
|
||||||
filter-obj "^1.1.0"
|
filter-obj "^1.1.0"
|
||||||
|
@ -14735,6 +14743,11 @@ react-focus-lock@^2.1.0:
|
||||||
use-callback-ref "^1.2.1"
|
use-callback-ref "^1.2.1"
|
||||||
use-sidecar "^1.0.1"
|
use-sidecar "^1.0.1"
|
||||||
|
|
||||||
|
react-freeze@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-freeze/-/react-freeze-1.0.0.tgz#b21c65fe1783743007c8c9a2952b1c8879a77354"
|
||||||
|
integrity sha512-yQaiOqDmoKqks56LN9MTgY06O0qQHgV4FUrikH357DydArSZHQhl0BJFqGKIZoTqi8JizF9Dxhuk1FIZD6qCaw==
|
||||||
|
|
||||||
react-helmet-async@^1.0.2:
|
react-helmet-async@^1.0.2:
|
||||||
version "1.0.9"
|
version "1.0.9"
|
||||||
resolved "https://registry.yarnpkg.com/react-helmet-async/-/react-helmet-async-1.0.9.tgz#5b9ed2059de6b4aab47f769532f9fbcbce16c5ca"
|
resolved "https://registry.yarnpkg.com/react-helmet-async/-/react-helmet-async-1.0.9.tgz#5b9ed2059de6b4aab47f769532f9fbcbce16c5ca"
|
||||||
|
@ -14898,11 +14911,6 @@ react-native-iphone-x-helper@^1.0.3:
|
||||||
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.1.tgz#645e2ffbbb49e80844bb4cbbe34a126fda1e6772"
|
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.1.tgz#645e2ffbbb49e80844bb4cbbe34a126fda1e6772"
|
||||||
integrity sha512-/VbpIEp8tSNNHIvstuA3Swx610whci1Zpc9mqNkqn14DkMbw+ORviln2u0XyHG1kPvvwTNGZY6QpeFwxYaSdbQ==
|
integrity sha512-/VbpIEp8tSNNHIvstuA3Swx610whci1Zpc9mqNkqn14DkMbw+ORviln2u0XyHG1kPvvwTNGZY6QpeFwxYaSdbQ==
|
||||||
|
|
||||||
react-native-iphone-x-helper@^1.3.0:
|
|
||||||
version "1.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz#20c603e9a0e765fd6f97396638bdeb0e5a60b010"
|
|
||||||
integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==
|
|
||||||
|
|
||||||
react-native-jitsi-meet@RocketChat/react-native-jitsi-meet:
|
react-native-jitsi-meet@RocketChat/react-native-jitsi-meet:
|
||||||
version "3.6.0"
|
version "3.6.0"
|
||||||
resolved "https://codeload.github.com/RocketChat/react-native-jitsi-meet/tar.gz/90bae9b9d779c13829d7dc618e31d11dba60140d"
|
resolved "https://codeload.github.com/RocketChat/react-native-jitsi-meet/tar.gz/90bae9b9d779c13829d7dc618e31d11dba60140d"
|
||||||
|
@ -15026,10 +15034,13 @@ react-native-safe-area-context@3.2.0:
|
||||||
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-3.2.0.tgz#06113c6b208f982d68ab5c3cebd199ca93db6941"
|
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-3.2.0.tgz#06113c6b208f982d68ab5c3cebd199ca93db6941"
|
||||||
integrity sha512-k2Nty4PwSnrg9HwrYeeE+EYqViYJoOFwEy9LxL5RIRfoqxAq/uQXNGwpUg2/u4gnKpBbEPa9eRh15KKMe/VHkA==
|
integrity sha512-k2Nty4PwSnrg9HwrYeeE+EYqViYJoOFwEy9LxL5RIRfoqxAq/uQXNGwpUg2/u4gnKpBbEPa9eRh15KKMe/VHkA==
|
||||||
|
|
||||||
react-native-screens@2.9.0:
|
react-native-screens@3.11.0:
|
||||||
version "2.9.0"
|
version "3.11.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-2.9.0.tgz#ead2843107ba00fee259aa377582e457c74f1f3b"
|
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-3.11.0.tgz#eeece4a1ba10ce1bfe15160f4ae4073cad34535f"
|
||||||
integrity sha512-5MaiUD6HA3nzY3JbVI8l3V7pKedtxQF3d8qktTVI0WmWXTI4QzqOU8r8fPVvfKo3MhOXwhWBjr+kQ7DZaIQQeg==
|
integrity sha512-4ml42gzxqcjIoPr0zNeN9AHNRK06v2VrF5McT+QpU1GXipehycJ1BBWfziMEsMKZiUeVy4TU7qFlHUuys2mlzw==
|
||||||
|
dependencies:
|
||||||
|
react-freeze "^1.0.0"
|
||||||
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
react-native-scrollable-tab-view@^1.0.0:
|
react-native-scrollable-tab-view@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
|
@ -17922,6 +17933,11 @@ walker@^1.0.7, walker@~1.0.5:
|
||||||
dependencies:
|
dependencies:
|
||||||
makeerror "1.0.x"
|
makeerror "1.0.x"
|
||||||
|
|
||||||
|
warn-once@^0.1.0:
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.0.tgz#4f58d89b84f968d0389176aa99e0cf0f14ffd4c8"
|
||||||
|
integrity sha512-recZTSvuaH/On5ZU5ywq66y99lImWqzP93+AiUo9LUwG8gXHW+LJjhOd6REJHm7qb0niYqrEQJvbHSQfuJtTqA==
|
||||||
|
|
||||||
warning@^4.0.2, warning@^4.0.3:
|
warning@^4.0.2, warning@^4.0.3:
|
||||||
version "4.0.3"
|
version "4.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
|
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
|
||||||
|
|
Loading…
Reference in New Issue