@symbiote-native/haptics 3.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,13 +10,27 @@ Vue, Svelte, Solid, Angular — not just React.
10
10
 
11
11
  ## Install
12
12
 
13
+ **New app:**
14
+
13
15
  ```bash
14
- npm install @symbiote-native/haptics
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
15
23
  ```
16
24
 
17
- Scaffolding or extending a SymbioteNative app? `npx @symbiote-native/cli new --haptics` (or
18
- `add --haptics` in an existing app) installs and wires this for you — see
19
- [`@symbiote-native/cli`](../cli).
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
+
31
+ ```bash
32
+ npm install @symbiote-native/haptics
33
+ ```
20
34
 
21
35
  `expo-haptics` and `expo-modules-core` come along as regular, exact-pinned dependencies — never
22
36
  install either yourself, and never add the `expo` meta-package (it bundles its own Metro/Babel
@@ -44,6 +58,8 @@ implementation: `examples/expo-react/ios/Podfile` and
44
58
  No permission or `Info.plist`/`AndroidManifest.xml` entry is needed on either platform — haptic
45
59
  feedback requires none.
46
60
 
61
+ </details>
62
+
47
63
  ## Shape
48
64
 
49
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": "3.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": "^3.0.0",
84
- "@symbiote-native/engine": "^1.0.0",
85
- "@symbiote-native/react": "^3.0.0",
86
- "@symbiote-native/solid": "^3.0.0",
87
- "@symbiote-native/svelte": "^3.0.0",
88
- "@symbiote-native/vue": "^3.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": "3.0.0",
137
- "@symbiote-native/engine": "1.0.0",
138
- "@symbiote-native/react": "3.0.0",
139
- "@symbiote-native/solid": "3.0.0",
140
- "@symbiote-native/svelte": "3.0.0",
141
- "@symbiote-native/test-utils": "0.3.1",
142
- "@symbiote-native/vue": "3.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",