@symbiote-native/brightness 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
@@ -16,6 +16,24 @@ depended on directly and never the `expo` meta-package, why the upstream JS is h
16
16
 
17
17
  ## Install
18
18
 
19
+ **New app:**
20
+
21
+ ```bash
22
+ npx @symbiote-native/cli new my-app --brightness
23
+ ```
24
+
25
+ **Existing SymbioteNative app:**
26
+
27
+ ```bash
28
+ npx @symbiote-native/cli add --brightness
29
+ ```
30
+
31
+ Either way: installs `@symbiote-native/brightness` and wires the native autolinking automatically — see
32
+ [`@symbiote-native/cli`](../cli).
33
+
34
+ <details>
35
+ <summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
36
+
19
37
  ```bash
20
38
  npm install @symbiote-native/brightness
21
39
  ```
@@ -46,6 +64,8 @@ implementation: `examples/expo-react/android/app/src/main/AndroidManifest.xml` (
46
64
  `examples/expo-react/android/app/src/main/java/com/canaryexpo/MainApplication.kt` (the
47
65
  `BrightnessModule` registration) — the Vue and Angular Expo canaries wire the same three layers.
48
66
 
67
+ </details>
68
+
49
69
  ## Shape
50
70
 
51
71
  ```
package/native-link.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "className": "BrightnessModule",
8
8
  "nativeName": "ExpoBrightness"
9
9
  }
10
- ]
10
+ ],
11
+ "manifestPermissions": ["android.permission.WRITE_SETTINGS"]
11
12
  }
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/brightness",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "expo-brightness wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Screen brightness get/set, Android-only system-brightness-mode control, an iOS-only brightness-change listener, and permission get/request.",
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/react": "^2.0.0",
85
- "@symbiote-native/engine": "^0.5.0",
86
- "@symbiote-native/svelte": "^2.0.0",
87
- "@symbiote-native/solid": "^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",