@symbiote-native/cellular 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.
- package/README.md +21 -1
- package/native-link.json +2 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -13,6 +13,24 @@ depends on) — every function is hand-ported into this package's own `core/`.
|
|
|
13
13
|
|
|
14
14
|
## Install
|
|
15
15
|
|
|
16
|
+
**New app:**
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx @symbiote-native/cli new my-app --cellular
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Existing SymbioteNative app:**
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx @symbiote-native/cli add --cellular
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Either way: installs `@symbiote-native/cellular` and wires the native autolinking automatically —
|
|
29
|
+
see [`@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/cellular
|
|
18
36
|
```
|
|
@@ -23,7 +41,7 @@ specific native API shape and a newer resolve could silently drift the two apart
|
|
|
23
41
|
`expo-cellular` yourself, and never add the `expo` meta-package to this project — it bundles its
|
|
24
42
|
own Metro/Babel pipeline that conflicts with this project's own.
|
|
25
43
|
|
|
26
|
-
|
|
44
|
+
### Required one-time step: native autolinking wiring
|
|
27
45
|
|
|
28
46
|
Unlike a plain RN native module, `expo-cellular`'s native code is discovered by
|
|
29
47
|
`expo-modules-autolinking`, not RN's own `react-native.config.cjs` mechanism — this needs wiring
|
|
@@ -43,6 +61,8 @@ peer-dependency exclusion list, per-module permission strings — live in the
|
|
|
43
61
|
`symbiote-expo-native-module` project skill. This wiring is already done for all six
|
|
44
62
|
`examples/expo-*` canary apps (React, Vue SFC, Vue TSX, Svelte, Solid, Angular).
|
|
45
63
|
|
|
64
|
+
</details>
|
|
65
|
+
|
|
46
66
|
## Shape
|
|
47
67
|
|
|
48
68
|
```
|
package/native-link.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/cellular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "expo-cellular wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Cellular generation (2G/3G/4G/5G), carrier/SIM info on Android (ISO country code, carrier name, MCC/MNC), VoIP-support detection, and the permission get/request pair gating carrier info on Android.",
|
|
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": "^
|
|
84
|
-
"@symbiote-native/engine": "^
|
|
85
|
-
"@symbiote-native/react": "^
|
|
86
|
-
"@symbiote-native/solid": "^
|
|
87
|
-
"@symbiote-native/svelte": "^
|
|
88
|
-
"@symbiote-native/vue": "^
|
|
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": "
|
|
137
|
-
"@symbiote-native/engine": "
|
|
138
|
-
"@symbiote-native/react": "
|
|
139
|
-
"@symbiote-native/solid": "
|
|
140
|
-
"@symbiote-native/svelte": "
|
|
141
|
-
"@symbiote-native/test-utils": "0.3
|
|
142
|
-
"@symbiote-native/vue": "
|
|
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",
|