Upgrade Dependencies (#7491)

* update dependencies

* update dependencies

* update readable-stream

* further updates
This commit is contained in:
Elias Nahum 2023-08-18 16:04:28 -04:00 committed by GitHub
parent 504caa8cd8
commit 69872eb678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 6610 additions and 4414 deletions

View file

@ -61,6 +61,7 @@
"afterColon": true
}}],
"@typescript-eslint/member-delimiter-style": 2,
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"import/order": [
2,
{

View file

@ -57,7 +57,7 @@
{
"rule": "cli",
"binary": "pod",
"semver": "1.11.3",
"semver": "1.12.1",
"platform": "darwin"
}
],

View file

@ -16,7 +16,7 @@
android:insetTop="@dimen/abc_edit_text_inset_top_material"
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">
<selector>
<!--
<!--
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'

View file

@ -29,7 +29,7 @@ android.useAndroidX=true
android.enableJetifier=true
# Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.177.0
FLIPPER_VERSION=0.182.0
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using

View file

@ -10,7 +10,7 @@ import {
TouchableOpacity,
type LayoutChangeEvent,
} from 'react-native';
import Share from 'react-native-share';
import Share, {type ShareOptions} from 'react-native-share';
import CompassIcon from '@components/compass_icon';
import FormattedText from '@components/formatted_text';
@ -21,8 +21,6 @@ import {preventDoubleTap} from '@utils/tap';
import {makeStyleSheetFromTheme, changeOpacity} from '@utils/theme';
import {typography} from '@utils/typography';
import type {ShareOptions} from 'react-native-share/lib/typescript/types';
const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => {
return {
container: {

View file

@ -1416,6 +1416,9 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
@ -1436,6 +1439,9 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Brands.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Regular.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Solid.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
@ -2330,7 +2336,7 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/getsentry/sentry-cocoa.git";
requirement = {
branch = 8.7.3;
branch = 8.9.4;
kind = branch;
};
};

View file

@ -14,7 +14,7 @@
"package": "Sentry",
"repositoryURL": "https://github.com/getsentry/sentry-cocoa.git",
"state": {
"branch": "8.7.3",
"branch": "8.9.4",
"revision": "9cf7d2e514af1600cc2b3c5592e2848c6c5a76d6",
"version": null
}

View file

@ -1,7 +1,7 @@
PODS:
- Alamofire (5.6.4)
- boost (1.76.0)
- BVLinearGradient (2.7.2):
- BVLinearGradient (2.8.2):
- React-Core
- CocoaAsyncSocket (7.6.5)
- CocoaLumberjack (3.8.0):
@ -87,15 +87,18 @@ PODS:
- React-Core
- JitsiWebRTC (111.0.2)
- libevent (2.1.12)
- libwebp (1.2.4):
- libwebp/demux (= 1.2.4)
- libwebp/mux (= 1.2.4)
- libwebp/webp (= 1.2.4)
- libwebp/demux (1.2.4):
- libwebp (1.3.1):
- libwebp/demux (= 1.3.1)
- libwebp/mux (= 1.3.1)
- libwebp/sharpyuv (= 1.3.1)
- libwebp/webp (= 1.3.1)
- libwebp/demux (1.3.1):
- libwebp/webp
- libwebp/mux (1.2.4):
- libwebp/mux (1.3.1):
- libwebp/demux
- libwebp/webp (1.2.4)
- libwebp/sharpyuv (1.3.1)
- libwebp/webp (1.3.1):
- libwebp/sharpyuv
- mattermost-react-native-turbo-log (0.2.3):
- CocoaLumberjack
- RCT-Folly (= 2021.07.22.00)
@ -359,7 +362,7 @@ PODS:
- glog
- react-native-background-timer (2.4.1):
- React-Core
- react-native-cameraroll (5.6.0):
- react-native-cameraroll (5.7.2):
- React-Core
- react-native-cookies (6.2.1):
- React-Core
@ -371,37 +374,33 @@ PODS:
- React-Core
- react-native-hw-keyboard-event (0.0.4):
- React
- react-native-image-picker (5.4.2):
- react-native-image-picker (5.6.1):
- React-Core
- react-native-in-app-review (4.3.3):
- React-Core
- react-native-netinfo (9.3.10):
- react-native-netinfo (9.4.1):
- React-Core
- react-native-network-client (1.3.8):
- Alamofire (~> 5.6.4)
- React-Core
- Starscream (~> 4.0.4)
- SwiftyJSON (~> 5.0)
- react-native-notifications (4.3.5):
- react-native-notifications (5.0.0):
- React-Core
- react-native-paste-input (0.6.2):
- react-native-paste-input (0.6.4):
- React-Core
- Swime (= 3.0.6)
- react-native-safe-area-context (4.5.3):
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- react-native-safe-area-context (4.7.1):
- React-Core
- ReactCommon/turbomodule/core
- react-native-video (5.2.1):
- React-Core
- react-native-video/Video (= 5.2.1)
- react-native-video/Video (5.2.1):
- React-Core
- react-native-webrtc (111.0.1):
- react-native-webrtc (111.0.3):
- JitsiWebRTC (~> 111.0.0)
- React-Core
- react-native-webview (13.2.2):
- react-native-webview (13.3.1):
- React-Core
- React-perflogger (0.71.11)
- React-RCTActionSheet (0.71.11):
@ -489,26 +488,28 @@ PODS:
- React-perflogger (= 0.71.11)
- ReactNativeExceptionHandler (2.10.10):
- React-Core
- ReactNativeIncallManager (4.0.1):
- ReactNativeIncallManager (4.1.0):
- React-Core
- ReactNativeKeyboardTrackingView (5.7.0):
- React
- ReactNativeNavigation (7.33.4):
- ReactNativeNavigation (7.37.0):
- HMSegmentedControl
- React-Core
- React-CoreModules
- React-RCTImage
- React-RCTText
- ReactNativeNavigation/Core (= 7.33.4)
- ReactNativeNavigation/Core (7.33.4):
- ReactNativeNavigation/Core (= 7.37.0)
- ReactNativeNavigation/Core (7.37.0):
- HMSegmentedControl
- React-Core
- React-CoreModules
- React-RCTImage
- React-RCTText
- RNCClipboard (1.11.2):
- React-Core
- RNDateTimePicker (7.1.0):
- RNDateTimePicker (7.4.1):
- React-Core
- RNDeviceInfo (10.6.0):
- RNDeviceInfo (10.8.0):
- React-Core
- RNFastImage (8.6.3):
- React-Core
@ -518,13 +519,13 @@ PODS:
- React-Core
- RNFS (2.20.0):
- React-Core
- RNGestureHandler (2.12.0):
- RNGestureHandler (2.12.1):
- React-Core
- RNKeychain (8.1.1):
- RNKeychain (8.1.2):
- React-Core
- RNLocalize (3.0.0):
- RNLocalize (3.0.2):
- React-Core
- RNPermissions (3.8.0):
- RNPermissions (3.8.4):
- React-Core
- RNReactNativeHapticFeedback (2.0.3):
- React-Core
@ -557,33 +558,33 @@ PODS:
- React-RCTText
- ReactCommon/turbomodule/core
- Yoga
- RNRudderSdk (1.7.1):
- RNRudderSdk (1.8.0):
- React
- Rudder (~> 1.13)
- RNScreens (3.21.0):
- RNScreens (3.24.0):
- React-Core
- React-RCTImage
- RNSentry (5.6.0):
- RNSentry (5.9.0):
- React-Core
- Sentry/HybridSDK (= 8.7.3)
- RNShare (8.2.2):
- Sentry/HybridSDK (= 8.9.4)
- RNShare (9.2.3):
- React-Core
- RNSVG (13.9.0):
- RNSVG (13.11.0):
- React-Core
- RNVectorIcons (9.2.0):
- RNVectorIcons (10.0.0):
- React-Core
- Rudder (1.15.1)
- Rudder (1.17.0)
- SDWebImage (5.12.6):
- SDWebImage/Core (= 5.12.6)
- SDWebImage/Core (5.12.6)
- SDWebImageWebPCoder (0.8.5):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.10)
- Sentry/HybridSDK (8.7.3):
- SentryPrivate (= 8.7.3)
- SentryPrivate (8.7.3)
- Sentry/HybridSDK (8.9.4):
- SentryPrivate (= 8.9.4)
- SentryPrivate (8.9.4)
- simdjson (3.1.0-wmelon1)
- SocketRocket (0.6.0)
- SocketRocket (0.6.1)
- Starscream (4.0.4)
- SwiftyJSON (5.0.1)
- Swime (3.0.6)
@ -902,7 +903,7 @@ CHECKOUT OPTIONS:
SPEC CHECKSUMS:
Alamofire: 4e95d97098eacb88856099c4fc79b526a299e48c
boost: 57d2868c099736d80fcd648bf211b4431e51a558
BVLinearGradient: 252e4a39d23d69d2d89b55b165c8900f7caf93fc
BVLinearGradient: 916632041121a658c704df89d99f04acb038de0f
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaLumberjack: 78abfb691154e2a9df8ded4350d504ee19d90732
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
@ -924,7 +925,7 @@ SPEC CHECKSUMS:
jail-monkey: a71b35d482a70ecba844a90f002994012cf12a5d
JitsiWebRTC: 80f62908fcf2a1160e0d14b584323fb6e6be630b
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
libwebp: 33dc822fbbf4503668d09f7885bbfedc76c45e96
mattermost-react-native-turbo-log: a00b39dafdef7905164110466e7d725f6f079751
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
@ -943,22 +944,22 @@ SPEC CHECKSUMS:
React-jsinspector: b6ed4cb3ffa27a041cd440300503dc512b761450
React-logger: 186dd536128ae5924bc38ed70932c00aa740cd5b
react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
react-native-cameraroll: 755bcc628148a90a7c9cf3f817a252be3a601bc5
react-native-cameraroll: 134805127580aed23403b8c2cb1548920dd77b3a
react-native-cookies: f54fcded06bb0cda05c11d86788020b43528a26c
react-native-create-thumbnail: e022bcdcba8a0b4529a50d3fa1a832ec921be39d
react-native-document-picker: 2b8f18667caee73a96708a82b284a4f40b30a156
react-native-emm: 5aaacd33453894ec64b9c774f735b6bf1a92b89f
react-native-hw-keyboard-event: b517cefb8d5c659a38049c582de85ff43337dc53
react-native-image-picker: 77f552291e993f3fdcdf48cc3c280ef7f11789c8
react-native-image-picker: 5fcac5a5ffcb3737837f0617d43fd767249290de
react-native-in-app-review: db8bb167a5f238e7ceca5c242d6b36ce8c4404a4
react-native-netinfo: ccbe1085dffd16592791d550189772e13bf479e2
react-native-netinfo: fefd4e98d75cbdd6e85fc530f7111a8afdf2b0c5
react-native-network-client: b12f0de0c3488237a8240e5f2acdd9f6c505c6d5
react-native-notifications: 504143d59f9628c3b0c22fd0ccf34b65b9182d01
react-native-paste-input: 3392800944a47c00dddbff23c31c281482209679
react-native-safe-area-context: b8979f5eda6ed5903d4dbc885be3846ea3daa753
react-native-notifications: d309f7080aad71206882dbb98d9ed788969f3b6d
react-native-paste-input: 09f14cbfb646ad9d2ef79cdc6f3d45f337c10ad1
react-native-safe-area-context: 9697629f7b2cda43cf52169bb7e0767d330648c2
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-webrtc: 2702afae1e59882b423e6077768ca0d1e6fc42ed
react-native-webview: b8ec89966713985111a14d6e4bf98d8b54bced0d
react-native-webrtc: 4d1669c2ed29767fe70b0169428b4466589ecf8b
react-native-webview: c2b70afb1d910cdd8810375aecc6c2894e2ba061
React-perflogger: e706562ab7eb8eb590aa83a224d26fa13963d7f2
React-RCTActionSheet: 57d4bd98122f557479a3359ad5dad8e109e20c5a
React-RCTAnimation: ccf3ef00101ea74bda73a045d79a658b36728a60
@ -973,34 +974,34 @@ SPEC CHECKSUMS:
React-runtimeexecutor: 4817d63dbc9d658f8dc0ec56bd9b83ce531129f0
ReactCommon: 08723d2ed328c5cbcb0de168f231bc7bae7f8aa1
ReactNativeExceptionHandler: b11ff67c78802b2f62eed0e10e75cb1ef7947c60
ReactNativeIncallManager: 0d2cf9f4d50359728a30c08549762fe67a2efb81
ReactNativeIncallManager: 2385505fa5dfdbbc78925e3b8d23b30ce0cde40e
ReactNativeKeyboardTrackingView: 02137fac3b2ebd330d74fa54ead48b14750a2306
ReactNativeNavigation: ae5df546dc2b8ada3b09385cf83177318e8c9429
ReactNativeNavigation: 2651d0bc1479e9df0789b077ae93320dc2c9b73b
RNCClipboard: 3f0451a8100393908bea5c5c5b16f96d45f30bfc
RNDateTimePicker: 7ecd54a97fc3749f38c3c89a171f6cbd52f3c142
RNDeviceInfo: 475a4c447168d0ad4c807e48ef5e0963a0f4eb1b
RNDateTimePicker: 9b4091348e53f540180abdc54984d839a556f593
RNDeviceInfo: 5795b418ed3451ebcaf39384e6cf51f60cb931c9
RNFastImage: 0ee8f7e39df8190d3ca3a5b0c4ea0109c0ff132e
RNFileViewer: ce7ca3ac370e18554d35d6355cffd7c30437c592
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: dec4645026e7401a0899f2846d864403478ff6a5
RNKeychain: ff836453cba46938e0e9e4c22e43d43fa2c90333
RNLocalize: 5944c97d2fe8150913a51ddd5eab4e23a82bd80d
RNPermissions: cf3a9da0e6e6772e66282ca7338e198885ac70e7
RNGestureHandler: c0d04458598fcb26052494ae23dda8f8f5162b13
RNKeychain: a65256b6ca6ba6976132cc4124b238a5b13b3d9c
RNLocalize: dbea38dcb344bf80ff18a1757b1becf11f70cae4
RNPermissions: 8ec6088b9f52706b4ef98fc4929df617d23917f3
RNReactNativeHapticFeedback: afa5bf2794aecbb2dba2525329253da0d66656df
RNReanimated: 49cdb63e767bb7e743ff4c12f7d85722c0d008f2
RNRudderSdk: 70865f8d0746d7e78e27df98c148d1ca0205c551
RNScreens: d037903436160a4b039d32606668350d2a808806
RNSentry: 9f0447b3ce13806f544903748de423259ead8552
RNShare: d82e10f6b7677f4b0048c23709bd04098d5aee6c
RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
Rudder: 41040d4537a178e4e32477b68400f98ca0c354eb
RNRudderSdk: b8cbccae069ea1a16ae1fd93e1b1072c1f1b7af7
RNScreens: b21dc57dfa2b710c30ec600786a3fc223b1b92e7
RNSentry: c167b3da6aa7f3cf85d909caae905d043a062b6c
RNShare: da6d90b6dc332f51f86498041d6e34211f96b630
RNSVG: 03e4d258ca355d7836a0a5dd4d4dc63c1eb49cbb
RNVectorIcons: 8b5bb0fa61d54cd2020af4f24a51841ce365c7e9
Rudder: 3f4ab09638452282a22b96a388b54132dcd3fca8
SDWebImage: a47aea9e3d8816015db4e523daff50cfd294499d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
Sentry: c7a86f43510a7d5678d4de28d78c28ab351d295b
SentryPrivate: 2eaabf598a46d4b9b8822aef766df2a84caf2e6f
Sentry: 56c76eed917f7dffd46db50906afbf5c9aa2673a
SentryPrivate: f3be34b5deb9fe676fdfb1f1ad5cdb1b740c5688
simdjson: e6bfae9ce4bcdc80452d388d593816f1ca2106f3
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
Swime: d7b2c277503b6cea317774aedc2dce05613f8b0b

View file

@ -21,4 +21,9 @@ module.exports = {
transformIgnorePatterns: [
'node_modules/(?!(@react-native|react-native)|jail-monkey|@sentry/react-native|react-clone-referenced-element|@react-native-community|react-navigation|@react-navigation/.*|validator|react-syntax-highlighter/.*|hast-util-from-selector|hastscript|property-information|hast-util-parse-selector|space-separated-tokens|comma-separated-tokens|zwitch|@mattermost/calls)',
],
moduleNameMapper: {
// Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451
uuid: require.resolve('uuid'),
},
};

10517
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -15,33 +15,36 @@
"@formatjs/intl-relativetimeformat": "11.2.4",
"@gorhom/bottom-sheet": "4.4.7",
"@mattermost/calls": "github:mattermost/calls-common#v0.14.0",
"@mattermost/compass-icons": "0.1.36",
"@mattermost/compass-icons": "0.1.37",
"@mattermost/react-native-emm": "1.3.5",
"@mattermost/react-native-network-client": "1.3.8",
"@mattermost/react-native-paste-input": "0.6.2",
"@mattermost/react-native-paste-input": "0.6.4",
"@mattermost/react-native-turbo-log": "0.2.3",
"@msgpack/msgpack": "2.8.0",
"@nozbe/watermelondb": "0.26.0",
"@nozbe/with-observables": "1.6.0",
"@react-native-camera-roll/camera-roll": "5.6.0",
"@react-native-camera-roll/camera-roll": "5.7.2",
"@react-native-clipboard/clipboard": "1.11.2",
"@react-native-community/datetimepicker": "7.1.0",
"@react-native-community/netinfo": "9.3.10",
"@react-native-community/datetimepicker": "7.4.1",
"@react-native-community/netinfo": "9.4.1",
"@react-native-cookies/cookies": "6.2.1",
"@react-navigation/bottom-tabs": "6.5.7",
"@react-navigation/native": "6.1.6",
"@react-navigation/stack": "6.3.16",
"@rudderstack/rudder-sdk-react-native": "1.7.1",
"@sentry/react-native": "5.6.0",
"@react-native/eslint-config": "0.72.2",
"@react-native/metro-config": "0.72.11",
"@react-navigation/bottom-tabs": "6.5.8",
"@react-navigation/native": "6.1.7",
"@react-navigation/stack": "6.3.17",
"@rudderstack/rudder-sdk-react-native": "1.8.0",
"@sentry/react-native": "5.9.0",
"@stream-io/flat-list-mvcp": "0.10.3",
"@tsconfig/react-native": "3.0.2",
"base-64": "1.0.0",
"commonmark": "npm:@mattermost/commonmark@0.30.1-0",
"commonmark-react-renderer": "github:mattermost/commonmark-react-renderer#2c660491041f7595f6ce5a05f6dc2e30ca769d3a",
"deep-equal": "2.2.1",
"deep-equal": "2.2.2",
"deepmerge": "4.3.1",
"emoji-regex": "10.2.1",
"fuse.js": "6.6.2",
"html-entities": "2.3.6",
"html-entities": "2.4.0",
"jail-monkey": "2.8.0",
"mime-db": "1.52.0",
"moment-timezone": "0.5.43",
@ -53,121 +56,121 @@
"react-native-android-open-settings": "1.3.0",
"react-native-background-timer": "2.4.1",
"react-native-button": "3.1.0",
"react-native-calendars": "1.1298.0",
"react-native-calendars": "1.1300.0",
"react-native-create-thumbnail": "1.6.4",
"react-native-device-info": "10.6.0",
"react-native-device-info": "10.8.0",
"react-native-document-picker": "9.0.1",
"react-native-dotenv": "3.4.8",
"react-native-dotenv": "3.4.9",
"react-native-elements": "3.4.3",
"react-native-exception-handler": "2.10.10",
"react-native-fast-image": "8.6.3",
"react-native-file-viewer": "2.1.5",
"react-native-fs": "2.20.0",
"react-native-gesture-handler": "2.12.0",
"react-native-gesture-handler": "2.12.1",
"react-native-haptic-feedback": "2.0.3",
"react-native-hw-keyboard-event": "0.0.4",
"react-native-image-picker": "5.4.2",
"react-native-image-picker": "5.6.1",
"react-native-in-app-review": "4.3.3",
"react-native-incall-manager": "4.0.1",
"react-native-incall-manager": "4.1.0",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-keyboard-tracking-view": "5.7.0",
"react-native-keychain": "8.1.1",
"react-native-linear-gradient": "2.7.2",
"react-native-localize": "3.0.0",
"react-native-keychain": "8.1.2",
"react-native-linear-gradient": "2.8.2",
"react-native-localize": "3.0.2",
"react-native-math-view": "3.9.5",
"react-native-navigation": "7.33.4",
"react-native-notifications": "4.3.5",
"react-native-permissions": "3.8.0",
"react-native-navigation": "7.37.0",
"react-native-notifications": "5.0.0",
"react-native-permissions": "3.8.4",
"react-native-reanimated": "3.4.2",
"react-native-safe-area-context": "4.5.3",
"react-native-screens": "3.21.0",
"react-native-safe-area-context": "4.7.1",
"react-native-screens": "3.24.0",
"react-native-section-list-get-item-layout": "2.2.3",
"react-native-shadow-2": "7.0.8",
"react-native-share": "8.2.2",
"react-native-svg": "13.9.0",
"react-native-vector-icons": "9.2.0",
"react-native-share": "9.2.3",
"react-native-svg": "13.11.0",
"react-native-vector-icons": "10.0.0",
"react-native-video": "5.2.1",
"react-native-walkthrough-tooltip": "1.5.0",
"react-native-webrtc": "111.0.1",
"react-native-webview": "13.2.2",
"react-native-webrtc": "111.0.3",
"react-native-webview": "13.3.1",
"react-syntax-highlighter": "15.5.0",
"readable-stream": "3.6.0",
"semver": "7.5.2",
"serialize-error": "11.0.0",
"readable-stream": "4.4.2",
"semver": "7.5.4",
"serialize-error": "11.0.1",
"shallow-equals": "1.0.0",
"tinycolor2": "1.6.0",
"url-parse": "1.5.10"
},
"devDependencies": {
"@babel/cli": "7.22.5",
"@babel/core": "7.22.5",
"@babel/eslint-parser": "7.22.5",
"@babel/cli": "7.22.10",
"@babel/core": "7.22.10",
"@babel/eslint-parser": "7.22.10",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.22.5",
"@babel/plugin-proposal-decorators": "7.22.10",
"@babel/plugin-transform-flow-strip-types": "7.22.5",
"@babel/plugin-transform-runtime": "7.22.5",
"@babel/preset-env": "7.22.5",
"@babel/plugin-transform-runtime": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5",
"@babel/register": "7.22.5",
"@babel/runtime": "7.22.5",
"@babel/runtime": "7.22.10",
"@react-native-community/eslint-config": "3.2.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/react-native": "12.1.2",
"@testing-library/react-native": "12.2.2",
"@types/base-64": "1.0.0",
"@types/commonmark": "0.27.6",
"@types/commonmark-react-renderer": "4.3.1",
"@types/deep-equal": "1.0.1",
"@types/jest": "29.5.2",
"@types/lodash": "4.14.195",
"@types/jest": "29.5.3",
"@types/lodash": "4.14.197",
"@types/mime-db": "1.43.1",
"@types/pako": "2.0.0",
"@types/querystringify": "2.0.0",
"@types/react": "18.2.12",
"@types/react": "18.2.20",
"@types/react-native-background-timer": "2.0.0",
"@types/react-native-button": "3.0.1",
"@types/react-native-dotenv": "0.2.0",
"@types/react-native-share": "3.3.3",
"@types/react-native-video": "5.0.14",
"@types/react-native-video": "5.0.15",
"@types/react-syntax-highlighter": "15.5.7",
"@types/react-test-renderer": "18.0.0",
"@types/readable-stream": "2.3.15",
"@types/readable-stream": "4.0.1",
"@types/semver": "7.5.0",
"@types/shallow-equals": "1.0.0",
"@types/tinycolor2": "1.4.3",
"@types/tough-cookie": "4.0.2",
"@types/url-parse": "1.4.8",
"@types/uuid": "9.0.2",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"axios": "1.4.0",
"axios-cookiejar-support": "4.0.6",
"babel-jest": "29.5.0",
"babel-loader": "9.1.2",
"axios-cookiejar-support": "4.0.7",
"babel-jest": "29.6.2",
"babel-loader": "9.1.3",
"babel-plugin-module-resolver": "5.0.0",
"deep-freeze": "0.0.1",
"detox": "20.9.1",
"eslint": "8.42.0",
"detox": "20.11.3",
"eslint": "8.47.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.3",
"isomorphic-fetch": "3.0.0",
"jest": "29.5.0",
"jest-cli": "29.5.0",
"jest": "29.6.2",
"jest-cli": "29.6.2",
"jetifier": "2.0.0",
"metro-react-native-babel-preset": "0.76.6",
"metro-react-native-babel-preset": "0.77.0",
"mmjstool": "github:mattermost/mattermost-utilities#e65ab00f22628cbdee736fd2e4f192f07225e82d",
"mock-async-storage": "2.2.0",
"nock": "13.3.1",
"patch-package": "7.0.0",
"react-devtools-core": "4.27.8",
"react-native-svg-transformer": "1.0.0",
"nock": "13.3.2",
"patch-package": "8.0.0",
"react-devtools-core": "4.28.0",
"react-native-svg-transformer": "1.1.0",
"react-test-renderer": "18.2.0",
"tough-cookie": "4.1.3",
"ts-jest": "29.1.0",
"typescript": "5.1.3",
"ts-jest": "29.1.1",
"typescript": "5.1.6",
"underscore": "1.13.6",
"util": "0.12.5",
"uuid": "9.0.0"
@ -205,14 +208,14 @@
},
"overrides": {
"@nozbe/with-observables": {
"@types/react": "^18.0.35",
"@types/react": "^18.2.18",
"react": "^18.2.0"
},
"@react-native-community/cameraroll": {
"react": "^18.2.0"
},
"@testing-library/react-hooks": {
"@types/react": "^18.0.15",
"@types/react": "^18.2.18",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0"
},
@ -226,7 +229,10 @@
"react": "^18.2.0"
},
"react-native-walkthrough-tooltip": {
"@types/react": "^18.0.35"
"@types/react": "^18.2.18"
},
"@react-native-community/cli": {
"semver": "^6.3.1"
}
},
"reactNativePermissionsIOS": [

View file

@ -1,14 +0,0 @@
diff --git a/node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderSdkModule.h b/node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderSdkModule.h
index f9020d1..7962e7b 100644
--- a/node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderSdkModule.h
+++ b/node_modules/@rudderstack/rudder-sdk-react-native/ios/RNRudderSdkModule.h
@@ -1,9 +1,5 @@
-#if __has_include("RCTBridgeModule.h")
-#import "RCTBridgeModule.h"
-#else
#import <React/RCTBridgeModule.h>
-#endif
@interface RNRudderSdkModule : NSObject <RCTBridgeModule>

View file

@ -1,5 +1,5 @@
diff --git a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java
index 8ddc3d5..c4acd2d 100644
index 8ddc3d5..609e359 100644
--- a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java
+++ b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/NavigationActivity.java
@@ -1,18 +1,15 @@
@ -42,7 +42,7 @@ index 8ddc3d5..c4acd2d 100644
}
@Override
@@ -96,15 +92,11 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
@@ -96,15 +92,16 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
@Override
public void invokeDefaultOnBackPressed() {
@ -51,6 +51,11 @@ index 8ddc3d5..c4acd2d 100644
- NavigationActivity.super.onBackPressed();
- callback.setEnabled(true);
- }
+ // if (!navigator.handleBack(new CommandListenerAdapter())) {
+ // callback.setEnabled(false);
+ // NavigationActivity.super.onBackPressed();
+ // callback.setEnabled(true);
+ // }
+ super.invokeDefaultOnBackPressed();
}
@ -60,7 +65,7 @@ index 8ddc3d5..c4acd2d 100644
super.onActivityResult(requestCode, resultCode, data);
getReactGateway().onActivityResult(this, requestCode, resultCode, data);
}
@@ -126,7 +118,6 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
@@ -126,7 +123,6 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
return navigator;
}
@ -68,7 +73,7 @@ index 8ddc3d5..c4acd2d 100644
public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) {
mPermissionListener = listener;
requestPermissions(permissions, requestCode);
@@ -134,6 +125,7 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
@@ -134,6 +130,7 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
@ -77,7 +82,7 @@ index 8ddc3d5..c4acd2d 100644
if (mPermissionListener != null && mPermissionListener.onRequestPermissionsResult(requestCode, permissions, grantResults)) {
mPermissionListener = null;
diff --git a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/NavigationModule.java b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/NavigationModule.java
index a34598c..b035a76 100644
index a34598c..4247607 100644
--- a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/NavigationModule.java
+++ b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/NavigationModule.java
@@ -59,20 +59,30 @@ public class NavigationModule extends ReactContextBaseJavaModule {
@ -87,7 +92,7 @@ index a34598c..b035a76 100644
- UiUtils.runOnMainThread(() -> navigator().onHostPause());
+ Navigator navigator = navigator();
+ if (navigator != null) {
+ UiUtils.runOnMainThread(() -> navigator.onHostPause());
+ UiUtils.runOnMainThread(() -> navigator().onHostPause());
+ }
}
@ -106,14 +111,14 @@ index a34598c..b035a76 100644
+ eventEmitter = new EventEmitter(reactContext);
+ Navigator navigator = navigator();
+ if (navigator != null) {
+ navigator.setEventEmitter(eventEmitter);
+ layoutFactory.init(
+ navigator.setEventEmitter(eventEmitter);
+ layoutFactory.init(
+ activity(),
+ eventEmitter,
+ navigator.getChildRegistry(),
+ ((NavigationApplication) activity().getApplication()).getExternalComponents()
+ );
+ UiUtils.runOnMainThread(() -> navigator.onHostResume());
+ );
+ UiUtils.runOnMainThread(() -> navigator.onHostResume());
+ }
+ } catch (ClassCastException e) {
+ // The most current activity is not a NavigationActivity
@ -129,7 +134,7 @@ index a34598c..b035a76 100644
+ if (activity() instanceof NavigationActivity) {
+ return ((NavigationActivity)activity()).getNavigator();
+ }
+ return null;
+ return null;
}
private Options parse(@Nullable ReadableMap mergeOptions) {
@ -162,34 +167,6 @@ index a34598c..b035a76 100644
if (navigationActivity != null) {
navigationActivity.onCatalystInstanceDestroy();
}
diff --git a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/MotionEvent.kt b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/MotionEvent.kt
index a79e487..dba9b65 100644
--- a/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/MotionEvent.kt
+++ b/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/MotionEvent.kt
@@ -3,11 +3,20 @@ package com.reactnativenavigation.utils
import android.graphics.Rect
import android.view.MotionEvent
import android.view.View
+import android.view.ViewGroup
val hitRect = Rect()
fun MotionEvent.coordinatesInsideView(view: View?): Boolean {
view ?: return false
- view.getHitRect(hitRect)
- return hitRect.contains(x.toInt(), y.toInt())
+ val viewGroup = (view as ViewGroup).getChildAt(0) as ViewGroup
+ return if (viewGroup.childCount > 0) {
+ val content = viewGroup.getChildAt(0)
+
+ content.getHitRect(hitRect)
+
+ hitRect.contains(x.toInt(), y.toInt())
+ } else {
+ false
+ }
}
\ No newline at end of file
diff --git a/node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/ReactGateway.java b/node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/ReactGateway.java
index 035ec31..630b8d4 100644
--- a/node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/ReactGateway.java
@ -206,7 +183,7 @@ index 035ec31..630b8d4 100644
+ }
}
diff --git a/node_modules/react-native-navigation/lib/ios/RNNComponentViewController.m b/node_modules/react-native-navigation/lib/ios/RNNComponentViewController.m
index 3ce9674..ae34704 100644
index fc482a6..9406bbf 100644
--- a/node_modules/react-native-navigation/lib/ios/RNNComponentViewController.m
+++ b/node_modules/react-native-navigation/lib/ios/RNNComponentViewController.m
@@ -94,6 +94,7 @@
@ -214,11 +191,11 @@ index 3ce9674..ae34704 100644
}];
self.reactView.backgroundColor = UIColor.clearColor;
+ self.reactView.frame = UIScreen.mainScreen.bounds;
self.reactView.translatesAutoresizingMaskIntoConstraints = NO;
self.reactView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[self.reactView setFrame:self.view.frame];
[self.view addSubview:self.reactView];
[self updateReactViewConstraints];
diff --git a/node_modules/react-native-navigation/lib/ios/RNNOverlayWindow.m b/node_modules/react-native-navigation/lib/ios/RNNOverlayWindow.m
index 934e7e7..19169a3 100644
index b44f24f..bf4e1c3 100644
--- a/node_modules/react-native-navigation/lib/ios/RNNOverlayWindow.m
+++ b/node_modules/react-native-navigation/lib/ios/RNNOverlayWindow.m
@@ -1,6 +1,8 @@
@ -236,35 +213,9 @@ index 934e7e7..19169a3 100644
[hitTestResult.subviews.firstObject isKindOfClass:RNNReactView.class] ||
+ [hitTestResult isKindOfClass:[RNCSafeAreaView class]] ||
+ [hitTestResult isKindOfClass:[RNCSafeAreaProvider class]] ||
[hitTestResult isKindOfClass:[RCTModalHostView class]]) {
[hitTestResult isKindOfClass:[RCTModalHostView class]] ||
[hitTestResult isKindOfClass:NSClassFromString(@"RCTRootComponentView")]) {
return nil;
}
diff --git a/node_modules/react-native-navigation/lib/ios/RNNReactView.h b/node_modules/react-native-navigation/lib/ios/RNNReactView.h
index f814815..bb39a10 100644
--- a/node_modules/react-native-navigation/lib/ios/RNNReactView.h
+++ b/node_modules/react-native-navigation/lib/ios/RNNReactView.h
@@ -4,6 +4,12 @@
#import <React/RCTRootView.h>
#endif
+#if RCT_NEW_ARCH_ENABLED
+
+// Fabric
+#import <React/RCTFabricSurfaceHostingProxyRootView.h>
+#endif
+
#import "RNNEventEmitter.h"
#import "UIView+Utils.h"
#import <React/RCTRootViewDelegate.h>
@@ -30,7 +36,7 @@ typedef void (^RNNReactViewReadyCompletionBlock)(void);
@end
-#ifdef RN_FABRIC_ENABLED
+#ifdef RCT_NEW_ARCH_ENABLED
@interface RNNReactView
: RCTFabricSurfaceHostingProxyRootView <RCTRootViewDelegate, RNNComponentProtocol>
#else
diff --git a/node_modules/react-native-navigation/lib/src/interfaces/Options.ts b/node_modules/react-native-navigation/lib/src/interfaces/Options.ts
index 4851b40..e891183 100644
--- a/node_modules/react-native-navigation/lib/src/interfaces/Options.ts

View file

@ -1,3 +1,20 @@
diff --git a/node_modules/react-native-notifications/lib/android/app/build.gradle b/node_modules/react-native-notifications/lib/android/app/build.gradle
index d049e84..9ad7004 100644
--- a/node_modules/react-native-notifications/lib/android/app/build.gradle
+++ b/node_modules/react-native-notifications/lib/android/app/build.gradle
@@ -96,9 +96,9 @@ android {
testOptions {
unitTests.all { t ->
- reports {
- html.enabled true
- }
+ // reports {
+ // html.enabled true
+ // }
testLogging {
events "PASSED", "SKIPPED", "FAILED", "standardOut", "standardError"
}
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml b/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml
index 24cd226..4bfacba 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml
@ -48,7 +65,7 @@ index 90969b2..3420045 100644
@ReactMethod
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java
index a249c6a..1c9ec28 100644
index 5b7f15f..9381794 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java
@@ -15,6 +15,7 @@ import com.wix.reactnativenotifications.core.AppLifecycleFacade;
@ -72,18 +89,8 @@ index a249c6a..1c9ec28 100644
callOnOpenedIfNeed(activity);
}
}
@@ -95,8 +100,7 @@ public class RNNotificationsPackage implements ReactPackage, AppLifecycleFacade.
Intent intent = activity.getIntent();
if (NotificationIntentAdapter.canHandleIntent(intent)) {
Context appContext = mApplication.getApplicationContext();
- Bundle notificationData = NotificationIntentAdapter.canHandleTrampolineActivity(appContext) ?
- intent.getExtras() : NotificationIntentAdapter.extractPendingNotificationDataFromIntent(intent);
+ Bundle notificationData = NotificationIntentAdapter.extractPendingNotificationDataFromIntent(intent);
final IPushNotification pushNotification = PushNotification.get(appContext, notificationData);
if (pushNotification != null) {
pushNotification.onOpened();
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java
index 70f609a..4484808 100644
index 1e7e871..62e5cb8 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java
@@ -14,17 +14,9 @@ public class NotificationIntentAdapter {
@ -206,10 +213,10 @@ index 0000000..3b8818e
+}
\ No newline at end of file
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/IPushNotification.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/IPushNotification.java
index 0d70024..47b962e 100644
index 0d70024..b9e6c88 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/IPushNotification.java
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/IPushNotification.java
@@ -26,5 +26,20 @@ public interface IPushNotification {
@@ -26,5 +26,21 @@ public interface IPushNotification {
*/
int onPostRequest(Integer notificationId);
@ -227,11 +234,12 @@ index 0d70024..47b962e 100644
+ * @return The ID assigned to the notification.
+ */
+ int onPostScheduledRequest(Integer notificationId);
+
+
PushNotificationProps asProps();
}
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java
index ac04274..4ccb427 100644
index ac04274..350b070 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java
@@ -10,6 +10,9 @@ import android.os.Build;
@ -270,7 +278,7 @@ index ac04274..4ccb427 100644
if (!mAppLifecycleFacade.isAppVisible()) {
postNotification(null);
notifyReceivedBackgroundToJS();
@@ -87,6 +91,41 @@ public class PushNotification implements IPushNotification {
@@ -87,6 +91,42 @@ public class PushNotification implements IPushNotification {
return mNotificationProps.copy();
}
@ -308,17 +316,13 @@ index ac04274..4ccb427 100644
+
+ return postNotification(notificationId);
+ }
+
+
protected int postNotification(Integer notificationId) {
if (mNotificationProps.isDataOnlyPushNotification()) {
return -1;
@@ -142,21 +181,22 @@ public class PushNotification implements IPushNotification {
}
protected Notification buildNotification(PendingIntent intent) {
- return getNotificationBuilder(intent).build();
+ NotificationCompat.Builder builder = getNotificationBuilder(intent);
+ return builder.build();
@@ -145,18 +185,18 @@ public class PushNotification implements IPushNotification {
return getNotificationBuilder(intent).build();
}
- protected Notification.Builder getNotificationBuilder(PendingIntent intent) {
@ -402,7 +406,7 @@ index 0000000..5b64593
+}
\ No newline at end of file
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notificationdrawer/PushNotificationsDrawer.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notificationdrawer/PushNotificationsDrawer.java
index a14089f..89590e3 100644
index a14089f..5238c75 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notificationdrawer/PushNotificationsDrawer.java
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notificationdrawer/PushNotificationsDrawer.java
@@ -2,9 +2,15 @@ package com.wix.reactnativenotifications.core.notificationdrawer;
@ -440,7 +444,7 @@ index a14089f..89590e3 100644
final NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.cancelAll();
+ cancelAllScheduledNotifications();
}
+ }
+
+ protected void cancelAllScheduledNotifications() {
+ Log.i(LOGTAG, "Cancelling all scheduled notifications");
@ -449,7 +453,7 @@ index a14089f..89590e3 100644
+ for (String notificationId : helper.getPreferencesKeys()) {
+ cancelScheduledNotification(notificationId);
+ }
+ }
+ }
+
+ protected void cancelScheduledNotification(String notificationId) {
+ Log.i(LOGTAG, "Cancelling scheduled notification: " + notificationId);
@ -470,7 +474,7 @@ index a14089f..89590e3 100644
+ // Remove it from the notification center
+ final NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
+ notificationManager.cancel(Integer.parseInt(notificationId));
+ }
}
}
diff --git a/node_modules/react-native-notifications/lib/dist/DTO/Notification.d.ts b/node_modules/react-native-notifications/lib/dist/DTO/Notification.d.ts
index 7b2b3b1..3a2f872 100644

View file

@ -0,0 +1,11 @@
diff --git a/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx b/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx
index 2ed3ea6..ce6e7be 100644
--- a/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx
+++ b/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx
@@ -1,5 +1,5 @@
import * as React from 'react';
-import { Dimensions, StyleSheet, ViewProps } from 'react-native';
+import { Dimensions, StyleSheet, type ViewProps } from 'react-native';
import { NativeSafeAreaProvider } from './NativeSafeAreaProvider';
import type {
EdgeInsets,

View file

@ -1,21 +1,19 @@
diff --git a/node_modules/react-native-svg/src/xml.tsx b/node_modules/react-native-svg/src/xml.tsx
index c6f1799..0fe9852 100644
index 385dd09..2b78d6e 100644
--- a/node_modules/react-native-svg/src/xml.tsx
+++ b/node_modules/react-native-svg/src/xml.tsx
@@ -138,9 +138,13 @@ export function SvgUri(props: UriProps) {
useEffect(() => {
@@ -137,9 +137,11 @@ export function SvgUri(props: UriProps) {
uri
? fetchText(uri)
- .then((data) => {
.then((data) => {
- setXml(data);
- isError && setIsError(false);
- onLoad?.();
+ .then((xml) => {
+ if (xml && /xmlns="http:\/\/www.w3.org\/[0-9]*\/svg"/.test(xml)) {
+ setXml(xml);
+ setXml(data);
+ isError && setIsError(false);
+ onLoad?.();
+ return;
+ }
+ onError();
})
.catch(onError)
: setXml(null);
.catch((e) => {
onError(e);

View file

@ -16,7 +16,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
gem install bundler --version 2.3.26 || exit 1
fi
if !(gem list cocoapods -i --version 1.11.3) > /dev/null 2>&1; then
if !(gem list cocoapods -i --version 1.12.1) > /dev/null 2>&1; then
cocoapods
fi
fi