diff --git a/native/ios/Podfile.lock b/native/ios/Podfile.lock --- a/native/ios/Podfile.lock +++ b/native/ios/Podfile.lock @@ -386,8 +386,8 @@ - React-Core - react-native-notifications (1.1.19): - React - - react-native-orientation-locker (1.1.6): - - React + - react-native-orientation-locker (1.5.0): + - React-Core - react-native-pager-view (6.0.1): - React-Core - react-native-safe-area-context (3.1.9): @@ -868,7 +868,7 @@ react-native-in-app-message: f91de5009620af01456531118264c93e249b83ec react-native-netinfo: e849fc21ca2f4128a5726c801a82fc6f4a6db50d react-native-notifications: bb042206ac7eab9323d528c780b3d6fe796c1f5e - react-native-orientation-locker: 23918c400376a7043e752c639c122fcf6bce8f1c + react-native-orientation-locker: 851f6510d8046ea2f14aa169b1e01fcd309a94ba react-native-pager-view: 3051346698a0ba0c4e13e40097cc11b00ee03cca react-native-safe-area-context: b6e0e284002381d2ff29fa4fff42b4d8282e3c94 react-native-video: 10f689069cb894d75030190a9bc62d9393e1f997 diff --git a/native/package.json b/native/package.json --- a/native/package.json +++ b/native/package.json @@ -97,7 +97,7 @@ "react-native-keyboard-input": "6.0.1", "react-native-keychain": "^8.0.0", "react-native-notifications": "git+https://git@github.com/ashoat/react-native-notifications.git", - "react-native-orientation-locker": "^1.1.6", + "react-native-orientation-locker": "^1.5.0", "react-native-pager-view": "^6.0.1", "react-native-progress": "^4.1.2", "react-native-reanimated": "^2.12.0", diff --git a/patches/react-native-orientation-locker+1.1.6.patch b/patches/react-native-orientation-locker+1.5.0.patch rename from patches/react-native-orientation-locker+1.1.6.patch rename to patches/react-native-orientation-locker+1.5.0.patch --- a/patches/react-native-orientation-locker+1.1.6.patch +++ b/patches/react-native-orientation-locker+1.5.0.patch @@ -1,13 +1,13 @@ diff --git a/node_modules/react-native-orientation-locker/iOS/RCTOrientation/Orientation.m b/node_modules/react-native-orientation-locker/iOS/RCTOrientation/Orientation.m -index 78e6fa4..6ff078b 100644 +index 6117764..e8bef37 100644 --- a/node_modules/react-native-orientation-locker/iOS/RCTOrientation/Orientation.m +++ b/node_modules/react-native-orientation-locker/iOS/RCTOrientation/Orientation.m @@ -20,7 +20,7 @@ @implementation Orientation } #if (!TARGET_OS_TV) --static UIInterfaceOrientationMask _orientation = UIInterfaceOrientationMaskAll; -+static UIInterfaceOrientationMask _orientation = UIInterfaceOrientationMaskPortrait; +-static UIInterfaceOrientationMask _orientationMask = UIInterfaceOrientationMaskAll; ++static UIInterfaceOrientationMask _orientationMask = UIInterfaceOrientationMaskPortrait; - + (void)setOrientation: (UIInterfaceOrientationMask)orientation { - + + (void)setOrientation: (UIInterfaceOrientationMask)orientationMask { + _orientationMask = orientationMask; diff --git a/yarn.lock b/yarn.lock --- a/yarn.lock +++ b/yarn.lock @@ -18702,10 +18702,10 @@ core-js "^1.0.0" uuid "^2.0.3" -react-native-orientation-locker@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/react-native-orientation-locker/-/react-native-orientation-locker-1.1.6.tgz#7d66a62cdbf4dd1548522efe69a4e04af5daf929" - integrity sha512-yXTC8KmKfhuEAh+gCOcehx0v4IjYapV0lJ6W1muafoISvxMsT+Cizzy+Iz78hQywVZTJNB/Xusl7WMXev7OxDQ== +react-native-orientation-locker@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/react-native-orientation-locker/-/react-native-orientation-locker-1.5.0.tgz#324853937eed4835ecd1c8613ab2206135d908ac" + integrity sha512-4XOCGmNN4BXg5JUFjUuXpsfhPJmbA3LkQilJO1ed+6vL97teTdG2w5IEevKiqL9/hPjeWE8YYtX/YW+yp53hkg== react-native-pager-view@^6.0.1: version "6.0.1"