expo-screen-orientation 8.1.5 → 8.1.6
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 +6 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/ScreenOrientationModule.swift +8 -10
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.module → 8.1.6/expo.modules.screenorientation-8.1.6.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.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.6/expo.modules.screenorientation-8.1.6.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.6/expo.modules.screenorientation-8.1.6.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 +2 -2
- 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.6/expo.modules.screenorientation-8.1.6-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.6/expo.modules.screenorientation-8.1.6-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.6/expo.modules.screenorientation-8.1.6-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.6/expo.modules.screenorientation-8.1.6-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.6/expo.modules.screenorientation-8.1.6-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.aar → 8.1.6/expo.modules.screenorientation-8.1.6.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.aar.md5 → 8.1.6/expo.modules.screenorientation-8.1.6.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.aar.sha1 → 8.1.6/expo.modules.screenorientation-8.1.6.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.aar.sha256 → 8.1.6/expo.modules.screenorientation-8.1.6.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.5/expo.modules.screenorientation-8.1.5.aar.sha512 → 8.1.6/expo.modules.screenorientation-8.1.6.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 8.1.6 — 2025-05-06
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [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))
|
|
18
|
+
|
|
13
19
|
## 8.1.5 — 2025-04-30
|
|
14
20
|
|
|
15
21
|
_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
|
}
|
|
@@ -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.6",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.screenorientation-8.1.
|
|
28
|
-
"url": "expo.modules.screenorientation-8.1.
|
|
27
|
+
"name": "expo.modules.screenorientation-8.1.6.aar",
|
|
28
|
+
"url": "expo.modules.screenorientation-8.1.6.aar",
|
|
29
29
|
"size": 36593,
|
|
30
30
|
"sha512": "ee96e8fc296906ebe83f3911901516aa56bbf398f1d11dddfab58b4e93400f25d04033746b55a193e51b9cf0561a0fe3bc9488636219c074de0e0a84fe2d0c28",
|
|
31
31
|
"sha256": "5da37a64aaa5f2292e6bf8d9830f946805cc6c5b2801b4fe90b7aeb180f92441",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
],
|
|
54
54
|
"files": [
|
|
55
55
|
{
|
|
56
|
-
"name": "expo.modules.screenorientation-8.1.
|
|
57
|
-
"url": "expo.modules.screenorientation-8.1.
|
|
56
|
+
"name": "expo.modules.screenorientation-8.1.6.aar",
|
|
57
|
+
"url": "expo.modules.screenorientation-8.1.6.aar",
|
|
58
58
|
"size": 36593,
|
|
59
59
|
"sha512": "ee96e8fc296906ebe83f3911901516aa56bbf398f1d11dddfab58b4e93400f25d04033746b55a193e51b9cf0561a0fe3bc9488636219c074de0e0a84fe2d0c28",
|
|
60
60
|
"sha256": "5da37a64aaa5f2292e6bf8d9830f946805cc6c5b2801b4fe90b7aeb180f92441",
|
|
@@ -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.6-sources.jar",
|
|
77
|
+
"url": "expo.modules.screenorientation-8.1.6-sources.jar",
|
|
78
78
|
"size": 5194,
|
|
79
79
|
"sha512": "e06be0d0236539250b81b1d5670d89f70600b03c82fa53c245602afdcb2bab06d04d42e6dd85e9686867d069a8b09dd3fbc04f562bc1760e33f68ea614b2ec42",
|
|
80
80
|
"sha256": "d63ace679c73e409ffd1706ac43973134e9151254bf644d73a33c27539db1037",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8b69431f7694c77d68ea5d974c164d87
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
37a989f13e8af4d665dc34f0fc0f93857dac6696
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6b945878346a7257f0711499a983621a55bf91d35faf1a648726362ea31228a1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9bcdb45234a10c7413ba12b12f2cd3421f411493c518ce5e812821f21f9f42783ec62fb0afa56a5f5a7dad6e58b8ddc76c12c0e1a893923fd4f89d5fdedee85c
|
|
@@ -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.6</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
|
+
37062be96ce1b8f3898c4304b55c2f4e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ceac364a3ebe94393c481b16cbcc64a6fe6721af
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d6796b520a47a01126202d6981d05dd5055aa48e159dd8dd7f0a42c1f7e58cf4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
05f53474ea0ad540dec1790ca2091195d11e3ad898d4ef08ee02e0834b8c23ccf57815b0bbfbc9570a203cea0dc86ab78d3d3748f3fe856c1090817612c0c547
|
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.6</latest>
|
|
7
|
+
<release>8.1.6</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>8.1.
|
|
9
|
+
<version>8.1.6</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250506221714</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
|
+
cdad6e02c2ffb40080118ea0d1920344
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a0b2e393ab8429300deb0ab37cdd19aa1eb77c8f
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
deeae032ee7e4ce568194de5b48f240563f97cf8c9b97be4a22cb4b221184cbb
|
package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
263dd92cf670b90ae54e3d941849d99873b865c47931ce1f2c4f549d6156b936b478f75412ee7cc11c779b38638f2131b342de5e010256168e93489fc72c4e6e
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-screen-orientation",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.6",
|
|
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",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"expo": "*",
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "907224d194d100adb3dff522d4d7be91ee43be51"
|
|
46
46
|
}
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|