@symbiote-native/device 2.0.0 → 3.0.1

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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -13,6 +13,24 @@ are plain re-exports of the same `core`.
13
13
 
14
14
  ## Install
15
15
 
16
+ **New app:**
17
+
18
+ ```bash
19
+ npx @symbiote-native/cli new my-app --device
20
+ ```
21
+
22
+ **Existing SymbioteNative app:**
23
+
24
+ ```bash
25
+ npx @symbiote-native/cli add --device
26
+ ```
27
+
28
+ Either way: installs `@symbiote-native/device` and wires the native autolinking automatically — see
29
+ [`@symbiote-native/cli`](../cli).
30
+
31
+ <details>
32
+ <summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
33
+
16
34
  ```bash
17
35
  npm install @symbiote-native/device
18
36
  ```
@@ -42,6 +60,8 @@ implementation: `examples/expo-react/ios/Podfile` and
42
60
  `expo-device` needs no runtime permission on either platform — every constant and function here
43
61
  reads plain system/build information, nothing gated by a permission prompt.
44
62
 
63
+ </details>
64
+
45
65
  ## Shape
46
66
 
47
67
  ```
@@ -280,6 +300,7 @@ There's no per-instance service to `inject()` in the Angular case — every cons
280
300
  plain export off the core package, read straight in the constructor or class-field initializer.
281
301
  These snippets mirror the real canary demo screens — `examples/expo-react/screens/DeviceScreen.tsx`,
282
302
  `examples/expo-vue-sfc/screens/DeviceScreen.vue`, `examples/expo-vue-tsx/screens/DeviceScreen.tsx`,
303
+ `examples/expo-svelte/screens/DeviceScreen.svelte`, `examples/expo-solid/screens/DeviceScreen.tsx`,
283
304
  `examples/expo-angular/src/screens/DeviceScreen.ts`.
284
305
 
285
306
  ## API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/device",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "expo-device wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Device brand/model/OS constants, uptime, max-memory, root/jailbreak detection, side-loading detection, and platform-feature queries.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -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": "^2.0.0",
84
- "@symbiote-native/engine": "^0.5.0",
85
- "@symbiote-native/react": "^2.0.0",
86
- "@symbiote-native/solid": "^2.0.0",
87
- "@symbiote-native/svelte": "^2.0.0",
88
- "@symbiote-native/vue": "^2.0.0"
83
+ "@symbiote-native/angular": "^3.1.1",
84
+ "@symbiote-native/engine": "^1.3.0",
85
+ "@symbiote-native/react": "^3.0.3",
86
+ "@symbiote-native/solid": "^3.0.3",
87
+ "@symbiote-native/svelte": "^3.0.3",
88
+ "@symbiote-native/vue": "^3.0.3"
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": "2.0.0",
137
- "@symbiote-native/engine": "0.5.0",
138
- "@symbiote-native/react": "2.0.0",
139
- "@symbiote-native/solid": "2.0.0",
140
- "@symbiote-native/svelte": "2.0.0",
141
- "@symbiote-native/test-utils": "0.3.0",
142
- "@symbiote-native/vue": "2.0.0"
136
+ "@symbiote-native/angular": "3.1.1",
137
+ "@symbiote-native/engine": "1.3.0",
138
+ "@symbiote-native/react": "3.0.3",
139
+ "@symbiote-native/solid": "3.0.3",
140
+ "@symbiote-native/svelte": "3.0.3",
141
+ "@symbiote-native/test-utils": "0.4.3",
142
+ "@symbiote-native/vue": "3.0.3"
143
143
  },
144
144
  "scripts": {
145
145
  "typecheck": "tsc --build",