Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33257246
D15132.1768588262.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D15132.1768588262.diff
View Options
diff --git a/native/ios/Comm-Bridging-Header.h b/native/ios/Comm-Bridging-Header.h
--- a/native/ios/Comm-Bridging-Header.h
+++ b/native/ios/Comm-Bridging-Header.h
@@ -2,7 +2,8 @@
// Use this file to import your target's public headers that you would like to
// expose to Swift.
//
-#import "CommIOSNotifications.h"
#import "Comm/DBInit.h"
#import "Comm/Tools.h"
-#import "CommIOSServicesClient.h"
\ No newline at end of file
+#import "CommIOSNotifications.h"
+#import "CommIOSServicesClient.h"
+#import "Orientation.h"
\ No newline at end of file
diff --git a/native/ios/Comm/AppDelegate.swift b/native/ios/Comm/AppDelegate.swift
--- a/native/ios/Comm/AppDelegate.swift
+++ b/native/ios/Comm/AppDelegate.swift
@@ -156,6 +156,10 @@
public override func applicationWillResignActive(_ application: UIApplication) {
(CommIOSServicesClient.sharedInstance() as? CommIOSServicesClient)?.cancelOngoingRequests()
}
+
+ public override func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
+ return Orientation.getOrientation()
+ }
}
class ReactNativeDelegate: ExpoReactNativeFactoryDelegate {
diff --git a/native/ios/Podfile.lock b/native/ios/Podfile.lock
--- a/native/ios/Podfile.lock
+++ b/native/ios/Podfile.lock
@@ -2120,7 +2120,7 @@
- Yoga
- react-native-netinfo (11.4.1):
- React-Core
- - react-native-orientation-locker (1.5.0):
+ - react-native-orientation-locker (1.7.0):
- React-Core
- react-native-pager-view (6.7.1):
- boost
@@ -3462,7 +3462,7 @@
react-native-in-app-message: f91de5009620af01456531118264c93e249b83ec
react-native-keyboard-controller: 67ade97aef69b23d03c4e46ef0889de00b6056a2
react-native-netinfo: f0a9899081c185db1de5bb2fdc1c88c202a059ac
- react-native-orientation-locker: 851f6510d8046ea2f14aa169b1e01fcd309a94ba
+ react-native-orientation-locker: 5819fd23ca89cbac0d736fb4314745f62716d517
react-native-pager-view: fb71fc7749da79d194e0e3e455d02fc0211c0042
react-native-safe-area-context: 8870dc3e45c8d241336cd8ee3fa3fc76f3a040ac
react-native-video: 52058745684402ec29da5c3fbda4f441d328cf03
diff --git a/native/package.json b/native/package.json
--- a/native/package.json
+++ b/native/package.json
@@ -99,7 +99,7 @@
"react-native-keyboard-controller": "^1.17.5",
"react-native-keyboard-input": "6.0.1",
"react-native-keychain": "^8.0.0",
- "react-native-orientation-locker": "^1.5.0",
+ "react-native-orientation-locker": "^1.7.0",
"react-native-pager-view": "6.7.1",
"react-native-progress": "^5.0.1",
"react-native-qrcode-svg": "^6.2.0",
diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -21399,10 +21399,10 @@
resolved "https://registry.yarnpkg.com/react-native-keychain/-/react-native-keychain-8.0.0.tgz#ff708e4dc2a5440df717179bf9b7cd50f78b61d7"
integrity sha512-c7Cs+YQN26UaQsRG1dmlXL7VL2ctnXwH/dl0IOMEQ7ZaL2NdN313YSAI8ZEZZjrVhNmPsyWEuvTFqWrdpItqQg==
-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-orientation-locker@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/react-native-orientation-locker/-/react-native-orientation-locker-1.7.0.tgz#47ef2b9c24618e40f0a521f184b51270e576b028"
+ integrity sha512-2PhG4UyRJktb3KCTISStuu8/q+Q3q3oPesGg9DhdY0b6Cu/ZzxkCvkbJte2TPWRYkS0JpClimvqVaonulGvDrA==
react-native-pager-view@6.7.1:
version "6.7.1"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 6:31 PM (13 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5945306
Default Alt Text
D15132.1768588262.diff (3 KB)
Attached To
Mode
D15132: [native][RN80][skip-ci] Fix orientation on iOS
Attached
Detach File
Event Timeline
Log In to Comment