@symbiote-native/screen-orientation 3.0.0 → 3.0.2
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/README.md +20 -4
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -14,13 +14,27 @@ depended on directly and never the `expo` meta-package, why the upstream JS is h
|
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
17
|
+
**New app:**
|
|
18
|
+
|
|
17
19
|
```bash
|
|
18
|
-
|
|
20
|
+
npx @symbiote-native/cli new my-app --screen-orientation
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Existing SymbioteNative app:**
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx @symbiote-native/cli add --screen-orientation
|
|
19
27
|
```
|
|
20
28
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
Either way: installs `@symbiote-native/screen-orientation` and wires the native autolinking
|
|
30
|
+
automatically — see [`@symbiote-native/cli`](../cli).
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install @symbiote-native/screen-orientation
|
|
37
|
+
```
|
|
24
38
|
|
|
25
39
|
Depends on `expo-screen-orientation` and `expo-modules-core` directly (regular dependencies,
|
|
26
40
|
pinned to exact versions — never a caret range, since this package's `core/` is hand-ported against
|
|
@@ -51,6 +65,8 @@ implementation: `examples/expo-react/ios/Podfile` and
|
|
|
51
65
|
No platform permission string is needed for screen-orientation's surface — locking and reading the
|
|
52
66
|
current orientation read/write system state with no runtime permission prompt on either platform.
|
|
53
67
|
|
|
68
|
+
</details>
|
|
69
|
+
|
|
54
70
|
## Shape
|
|
55
71
|
|
|
56
72
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/screen-orientation",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "expo-screen-orientation wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Orientation locking (lockAsync/lockPlatformAsync/unlockAsync), the current orientation and lock, and an auto-updating orientation-change hook/composable/service.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"solid-js": ">=1.9.0",
|
|
81
81
|
"svelte": ">=5.56.0",
|
|
82
82
|
"vue": ">=3.5.0",
|
|
83
|
-
"@symbiote-native/angular": "^3.
|
|
84
|
-
"@symbiote-native/engine": "^1.
|
|
85
|
-
"@symbiote-native/react": "^3.0.
|
|
86
|
-
"@symbiote-native/solid": "^3.0.
|
|
87
|
-
"@symbiote-native/svelte": "^3.0.
|
|
88
|
-
"@symbiote-native/vue": "^3.0.
|
|
83
|
+
"@symbiote-native/angular": "^3.1.2",
|
|
84
|
+
"@symbiote-native/engine": "^1.3.1",
|
|
85
|
+
"@symbiote-native/react": "^3.0.4",
|
|
86
|
+
"@symbiote-native/solid": "^3.0.4",
|
|
87
|
+
"@symbiote-native/svelte": "^3.0.4",
|
|
88
|
+
"@symbiote-native/vue": "^3.0.4"
|
|
89
89
|
},
|
|
90
90
|
"peerDependenciesMeta": {
|
|
91
91
|
"@symbiote-native/angular": {
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"solid-js": "^1.9.14",
|
|
134
134
|
"svelte": "^5.56.0",
|
|
135
135
|
"typescript": "~6.0.0",
|
|
136
|
-
"@symbiote-native/angular": "3.
|
|
137
|
-
"@symbiote-native/engine": "1.
|
|
138
|
-
"@symbiote-native/react": "3.0.
|
|
139
|
-
"@symbiote-native/solid": "3.0.
|
|
140
|
-
"@symbiote-native/svelte": "3.0.
|
|
141
|
-
"@symbiote-native/test-utils": "0.
|
|
142
|
-
"@symbiote-native/vue": "3.0.
|
|
136
|
+
"@symbiote-native/angular": "3.1.2",
|
|
137
|
+
"@symbiote-native/engine": "1.3.1",
|
|
138
|
+
"@symbiote-native/react": "3.0.4",
|
|
139
|
+
"@symbiote-native/solid": "3.0.4",
|
|
140
|
+
"@symbiote-native/svelte": "3.0.4",
|
|
141
|
+
"@symbiote-native/test-utils": "0.4.4",
|
|
142
|
+
"@symbiote-native/vue": "3.0.4"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"typecheck": "tsc --build",
|