@capgo/capacitor-ibeacon 8.1.39 → 8.1.41

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
@@ -1,12 +1,28 @@
1
1
  # capacitor-ibeacon
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-ibeacon" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Detect nearby iBeacons from your Capacitor app: monitor regions in the background, range beacons for distance and, on iOS, advertise the device as a beacon. Built for retail, venues and indoor proximity.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_ibeacon"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-ibeacon" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_ibeacon"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_ibeacon"> Missing a feature? We'll build the plugin for you 💪</a></h2>
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
+ <h2><a href="https://capgo.app/register/?ref=plugin_ibeacon">➡️ Get started for free</a></h2>
10
+ <p>14-day unlimited free trial. No credit card required</p>
11
+ <p><a href="https://capgo.app/consulting/?ref=plugin_ibeacon">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
13
 
9
- iBeacon plugin for Capacitor - proximity detection and beacon region monitoring.
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-ibeacon/main/assets/github-social-preview.png" alt="@capgo/capacitor-ibeacon for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **Region monitoring**: `startMonitoringForRegion()` with `didEnterRegion`, `didExitRegion` and `didDetermineStateForRegion` events.
21
+ - **Ranging**: `startRangingBeaconsInRegion()` emits `didRangeBeacons` with nearby beacons.
22
+ - **Advertising on iOS**: `startAdvertising()` and `stopAdvertising()` turn the device into an iBeacon.
23
+ - **Background scanning on Android**: `enableBackgroundMode()`, `setBackgroundScanPeriod()` and `enableARMAFilter()` for steadier distances.
24
+ - **Permissions and status**: location authorization requests, `isBluetoothEnabled()` and `isRangingAvailable()`.
25
+ - **Platforms**: iOS and Android. iOS uses Core Location, Android uses the AltBeacon library. Not available on web.
10
26
 
11
27
  ## Documentation
12
28
 
@@ -44,7 +44,7 @@ import org.altbeacon.beacon.Settings;
44
44
  )
45
45
  public class CapacitorIbeaconPlugin extends Plugin implements BeaconConsumer {
46
46
 
47
- private final String pluginVersion = "8.1.39";
47
+ private final String pluginVersion = "8.1.41";
48
48
  private static final String FOREGROUND_CHANNEL_ID = "beacon_service_channel";
49
49
  private static final int FOREGROUND_NOTIFICATION_ID = 456;
50
50
  private BeaconManager beaconManager;
@@ -4,7 +4,7 @@ import CoreLocation
4
4
 
5
5
  @objc(CapacitorIbeaconPlugin)
6
6
  public class CapacitorIbeaconPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.1.39"
7
+ private let pluginVersion: String = "8.1.41"
8
8
  public let identifier = "CapacitorIbeaconPlugin"
9
9
  public let jsName = "CapacitorIbeacon"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-ibeacon",
3
- "version": "8.1.39",
3
+ "version": "8.1.41",
4
4
  "description": "iBeacon plugin for Capacitor - proximity detection and beacon region monitoring",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",