@symbiote-native/haptics 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 CHANGED
@@ -10,6 +10,24 @@ Vue, Svelte, Solid, Angular — not just React.
10
10
 
11
11
  ## Install
12
12
 
13
+ **New app:**
14
+
15
+ ```bash
16
+ npx @symbiote-native/cli new my-app --haptics
17
+ ```
18
+
19
+ **Existing SymbioteNative app:**
20
+
21
+ ```bash
22
+ npx @symbiote-native/cli add --haptics
23
+ ```
24
+
25
+ Either way: installs `@symbiote-native/haptics` and wires the native autolinking automatically —
26
+ see [`@symbiote-native/cli`](../cli).
27
+
28
+ <details>
29
+ <summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
30
+
13
31
  ```bash
14
32
  npm install @symbiote-native/haptics
15
33
  ```
@@ -40,6 +58,8 @@ implementation: `examples/expo-react/ios/Podfile` and
40
58
  No permission or `Info.plist`/`AndroidManifest.xml` entry is needed on either platform — haptic
41
59
  feedback requires none.
42
60
 
61
+ </details>
62
+
43
63
  ## Shape
44
64
 
45
65
  ```
package/native-link.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "className": "HapticsModule",
8
8
  "nativeName": "ExpoHaptics"
9
9
  }
10
- ]
10
+ ],
11
+ "manifestPermissions": ["android.permission.VIBRATE"]
11
12
  }
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/haptics",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "expo-haptics wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Impact/notification/selection vibration feedback via iOS's Taptic Engine and Android's Vibrator API.",
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",