@capgo/capacitor-light-sensor 8.1.19 → 8.1.21

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 +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ Read the ambient light level from the device sensor in your Capacitor app, to ad
5
5
  <a href="https://capgo.app/?ref=plugin_light_sensor"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-light-sensor" alt="Capgo - Instant updates for Capacitor" /></a>
6
6
 
7
7
  <div align="center">
8
- <p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
8
+ <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
9
  <h2><a href="https://capgo.app/register/?ref=plugin_light_sensor">➡️ Get started for free</a></h2>
10
10
  <p>14-day unlimited free trial. No credit card required</p>
11
11
  <p><a href="https://capgo.app/consulting/?ref=plugin_light_sensor">Missing a feature? We'll build the plugin for you 💪</a></p>
@@ -21,7 +21,7 @@ Read the ambient light level from the device sensor in your Capacitor app, to ad
21
21
  - **Sampling control**: pass an update interval to `start()`.
22
22
  - **Availability**: `isAvailable()` checks for a light sensor first.
23
23
  - **Stop**: `stop()` ends updates to save battery.
24
- - **Permissions**: `checkPermissions()` and `requestPermissions()` for high sampling rate sensors.
24
+ - **Permissions**: `checkPermissions()` and `requestPermissions()` exist for API parity. Both always report `highSamplingRate` as granted.
25
25
  - **Platforms**: Android. Android only. iOS has no public ambient light sensor API, and web is not available.
26
26
 
27
27
  ## Why Capacitor Light Sensor?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-light-sensor",
3
- "version": "8.1.19",
3
+ "version": "8.1.21",
4
4
  "description": "Capacitor plugin for accessing the device light sensor (Android only)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",