expo-screen-orientation 8.1.5 → 8.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/ScreenOrientationModule.swift +8 -10
- package/ios/ScreenOrientationReactDelegateHandler.swift +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.module → 8.1.7/expo.modules.screenorientation-8.1.7.module} +17 -17
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.pom → 8.1.7/expo.modules.screenorientation-8.1.7.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.7/expo.modules.screenorientation-8.1.7.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.5/expo.modules.screenorientation-8.1.5.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5-sources.jar → 8.1.7/expo.modules.screenorientation-8.1.7-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5-sources.jar.md5 → 8.1.7/expo.modules.screenorientation-8.1.7-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5-sources.jar.sha1 → 8.1.7/expo.modules.screenorientation-8.1.7-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5-sources.jar.sha256 → 8.1.7/expo.modules.screenorientation-8.1.7-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5-sources.jar.sha512 → 8.1.7/expo.modules.screenorientation-8.1.7-sources.jar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 8.1.7 — 2025-06-04
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Call `createRootViewController` from the `ExpoReactNativeFactoryDelegate`. ([#36787](https://github.com/expo/expo/pull/36787) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
|
+
|
|
19
|
+
## 8.1.6 — 2025-05-06
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- [iOS] Fix the app becoming unresponsive when the orientation listener is used in `Split View` on iPad. ([#36667](https://github.com/expo/expo/pull/36667) by [@alanjhughes](https://github.com/alanjhughes))
|
|
24
|
+
|
|
13
25
|
## 8.1.5 — 2025-04-30
|
|
14
26
|
|
|
15
27
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
package/expo-module.config.json
CHANGED
|
@@ -2,14 +2,12 @@ import ExpoModulesCore
|
|
|
2
2
|
|
|
3
3
|
public class ScreenOrientationModule: Module, ScreenOrientationController {
|
|
4
4
|
static let didUpdateDimensionsEvent = "expoDidUpdateDimensions"
|
|
5
|
-
|
|
6
5
|
let screenOrientationRegistry = ScreenOrientationRegistry.shared
|
|
7
|
-
var shouldEmitEvents = false
|
|
8
6
|
|
|
9
7
|
public func definition() -> ModuleDefinition {
|
|
10
8
|
Name("ExpoScreenOrientation")
|
|
11
9
|
|
|
12
|
-
Events(
|
|
10
|
+
Events(ScreenOrientationModule.didUpdateDimensionsEvent)
|
|
13
11
|
|
|
14
12
|
AsyncFunction("lockAsync") { (orientationLock: ModuleOrientationLock) in
|
|
15
13
|
let orientationMask = orientationLock.toInterfaceOrientationMask()
|
|
@@ -83,19 +81,19 @@ public class ScreenOrientationModule: Module, ScreenOrientationController {
|
|
|
83
81
|
screenOrientationRegistry.unregisterController(self)
|
|
84
82
|
}
|
|
85
83
|
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
OnAppEntersForeground {
|
|
85
|
+
screenOrientationRegistry.registerController(self)
|
|
88
86
|
}
|
|
89
87
|
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
OnAppEntersBackground {
|
|
89
|
+
screenOrientationRegistry.unregisterController(self)
|
|
92
90
|
}
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
// MARK: - ScreenOrientationController
|
|
96
94
|
|
|
97
95
|
public func screenOrientationDidChange(_ orientation: UIInterfaceOrientation) {
|
|
98
|
-
guard let currentTraitCollection = screenOrientationRegistry.currentTraitCollection
|
|
96
|
+
guard let currentTraitCollection = screenOrientationRegistry.currentTraitCollection else {
|
|
99
97
|
return
|
|
100
98
|
}
|
|
101
99
|
|
|
@@ -103,8 +101,8 @@ public class ScreenOrientationModule: Module, ScreenOrientationController {
|
|
|
103
101
|
"orientationLock": ModuleOrientationLock.from(mask: screenOrientationRegistry.currentOrientationMask).rawValue,
|
|
104
102
|
"orientationInfo": [
|
|
105
103
|
"orientation": ModuleOrientation.from(orientation: orientation).rawValue,
|
|
106
|
-
"verticalSizeClass": currentTraitCollection.verticalSizeClass,
|
|
107
|
-
"horizontalSizeClass": currentTraitCollection.horizontalSizeClass
|
|
104
|
+
"verticalSizeClass": currentTraitCollection.verticalSizeClass.rawValue,
|
|
105
|
+
"horizontalSizeClass": currentTraitCollection.horizontalSizeClass.rawValue
|
|
108
106
|
] as [String: Any]
|
|
109
107
|
])
|
|
110
108
|
}
|
|
@@ -4,7 +4,7 @@ import ExpoModulesCore
|
|
|
4
4
|
|
|
5
5
|
@objc(EXScreenOrientationReactDelegateHandler)
|
|
6
6
|
public class ScreenOrientationReactDelegateHandler: ExpoReactDelegateHandler {
|
|
7
|
-
public override func createRootViewController(
|
|
7
|
+
public override func createRootViewController() -> UIViewController? {
|
|
8
8
|
return ScreenOrientationViewController(defaultScreenOrientationFromPlist: ())
|
|
9
9
|
}
|
|
10
10
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
358c54f566948165c647571380125c6a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b4544abbe63f30f394f3d9c2681d73edccc7af31
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
da13cd5f7980f02173287d85b9409796b560eb4d5d43b7750cd3fe922ca0e7ba
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b2b19dbfb2e6d071183349e5f4cde6414a8660076bd76bf7665a4bf55611edd63b0a5e2b1e0ed7e9be6a490352d96e209e1fd082c7e33b182372e97706dda80a
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.screenorientation",
|
|
6
|
-
"version": "8.1.
|
|
6
|
+
"version": "8.1.7",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.screenorientation-8.1.
|
|
28
|
-
"url": "expo.modules.screenorientation-8.1.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.screenorientation-8.1.7.aar",
|
|
28
|
+
"url": "expo.modules.screenorientation-8.1.7.aar",
|
|
29
|
+
"size": 36666,
|
|
30
|
+
"sha512": "b2b19dbfb2e6d071183349e5f4cde6414a8660076bd76bf7665a4bf55611edd63b0a5e2b1e0ed7e9be6a490352d96e209e1fd082c7e33b182372e97706dda80a",
|
|
31
|
+
"sha256": "da13cd5f7980f02173287d85b9409796b560eb4d5d43b7750cd3fe922ca0e7ba",
|
|
32
|
+
"sha1": "b4544abbe63f30f394f3d9c2681d73edccc7af31",
|
|
33
|
+
"md5": "358c54f566948165c647571380125c6a"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
],
|
|
54
54
|
"files": [
|
|
55
55
|
{
|
|
56
|
-
"name": "expo.modules.screenorientation-8.1.
|
|
57
|
-
"url": "expo.modules.screenorientation-8.1.
|
|
58
|
-
"size":
|
|
59
|
-
"sha512": "
|
|
60
|
-
"sha256": "
|
|
61
|
-
"sha1": "
|
|
62
|
-
"md5": "
|
|
56
|
+
"name": "expo.modules.screenorientation-8.1.7.aar",
|
|
57
|
+
"url": "expo.modules.screenorientation-8.1.7.aar",
|
|
58
|
+
"size": 36666,
|
|
59
|
+
"sha512": "b2b19dbfb2e6d071183349e5f4cde6414a8660076bd76bf7665a4bf55611edd63b0a5e2b1e0ed7e9be6a490352d96e209e1fd082c7e33b182372e97706dda80a",
|
|
60
|
+
"sha256": "da13cd5f7980f02173287d85b9409796b560eb4d5d43b7750cd3fe922ca0e7ba",
|
|
61
|
+
"sha1": "b4544abbe63f30f394f3d9c2681d73edccc7af31",
|
|
62
|
+
"md5": "358c54f566948165c647571380125c6a"
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
},
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
{
|
|
76
|
-
"name": "expo.modules.screenorientation-8.1.
|
|
77
|
-
"url": "expo.modules.screenorientation-8.1.
|
|
76
|
+
"name": "expo.modules.screenorientation-8.1.7-sources.jar",
|
|
77
|
+
"url": "expo.modules.screenorientation-8.1.7-sources.jar",
|
|
78
78
|
"size": 5194,
|
|
79
79
|
"sha512": "e06be0d0236539250b81b1d5670d89f70600b03c82fa53c245602afdcb2bab06d04d42e6dd85e9686867d069a8b09dd3fbc04f562bc1760e33f68ea614b2ec42",
|
|
80
80
|
"sha256": "d63ace679c73e409ffd1706ac43973134e9151254bf644d73a33c27539db1037",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12c78907cb3f675e45a92b88912bc535
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b9f59935f5d02b876dbe09e18a507c51a772d14d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9a42ace777d084ee410afb0e2d55b99c547c82b34ed49c2fb39d07607c3f1fec
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
df07e488c9a8e6a71f4e222c84d510d33eb956c2b2314a14fa81938f1a04c7df5e9d0573f815d298a5bdd4986590ccad3f36cc1a4da3bc4a1f10367be66f61f1
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.screenorientation</artifactId>
|
|
12
|
-
<version>8.1.
|
|
12
|
+
<version>8.1.7</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.screenorientation</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d746fead46e9bd8b74af494fcbcb7b69
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9495a3fca9f33eaa945896a1de4cc1bca9b93a78
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7d2a61f54dd3e4db067d18fa43355ef3ddf52845de73aaef88c632de7e1cb6c6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7004acfbc893f024dcb17eeac296e1a167b3ad6affefdc60776774016ee78e10f42e925ea26e6f93d19bcf201e64eb2688109863196c16ff99b5ed91cf4e2197
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.screenorientation</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>8.1.
|
|
7
|
-
<release>8.1.
|
|
6
|
+
<latest>8.1.7</latest>
|
|
7
|
+
<release>8.1.7</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>8.1.
|
|
9
|
+
<version>8.1.7</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250604230414</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6116cb9c73cf29891810f626ef9dec24
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
690a82477e4520ec7117a89a6acc07ad4627d24d
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
94986afbef889d40603fdda28441002d10f0d3b7f5d74477ed04df44e440d52c
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3294931201ef63292e1535023de6ab86c34b544767bcf27e3e71afe38e29b79bacb39dd4a57e34fe12614e05b35b6c2e8b1151453acc9bbad0b04349d56cda2c
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-screen-orientation",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.7",
|
|
4
4
|
"description": "Expo universal module for managing device's screen orientation",
|
|
5
5
|
"main": "build/ScreenOrientation.js",
|
|
6
6
|
"types": "build/ScreenOrientation.d.ts",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"preset": "expo-module-scripts"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"expo-module-scripts": "^4.1.
|
|
39
|
+
"expo-module-scripts": "^4.1.7"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"expo": "*",
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "7638c800b57fe78f57cc7f129022f58e84a523c5"
|
|
46
46
|
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
56176ffcfa2fb45eb7c81369673e674a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f977790e984f1724dd17964dd347594148829714
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5da37a64aaa5f2292e6bf8d9830f946805cc6c5b2801b4fe90b7aeb180f92441
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ee96e8fc296906ebe83f3911901516aa56bbf398f1d11dddfab58b4e93400f25d04033746b55a193e51b9cf0561a0fe3bc9488636219c074de0e0a84fe2d0c28
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
14bb2ef379ab306ab98cf21dd77c6163
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4902e74c94edaaa2fb0e23f4689a074bcb9c34ff
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3ff04ef929ef4c093513ba4681851830f154a0267978f4850a47d7d12fa3a01a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
637f119c4fd1c86342f3f2adc2a38e1784959d7271141f9e08a34b02bfca6e32ba9dafe732cd26e4f6207edfa70d801232f9ba2bd0730aae982ddfffc75a2570
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cede0f75c1d65d4675863293becc609d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c0ff3fcc15d08b715bfd695f86c71dc24297fb86
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8daeaa7b067c3b08f87f35f99fc72ac1281c254b66df51daabcb366b762d8a08
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c8422616e40d040dcb14ec58a8c72db89c3e450cc23a5bec5c87e0702137e3d901f465ba632a33f438b10900202cd85c082663da2c939bc0216fdd241869fbdc
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|