@capgo/background-geolocation 8.0.39 → 8.0.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
@@ -181,6 +181,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/backgrou
181
181
 
182
182
  ## Installation
183
183
 
184
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
185
+
186
+ ```bash
187
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
188
+ ```
189
+
190
+ Then use the following prompt:
191
+
192
+ ```text
193
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/background-geolocation` plugin in my project.
194
+ ```
195
+
196
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
197
+
184
198
  This plugin supports Capacitor v8:
185
199
 
186
200
  | Capacitor | Plugin |
@@ -38,7 +38,7 @@ func formatLocation(_ location: CLLocation) -> PluginCallResultData {
38
38
  @objc(BackgroundGeolocation)
39
39
  // swiftlint:disable:next type_body_length
40
40
  public class BackgroundGeolocation: CAPPlugin, CLLocationManagerDelegate, CAPBridgedPlugin {
41
- private let pluginVersion: String = "8.0.39"
41
+ private let pluginVersion: String = "8.0.41"
42
42
  public let identifier = "BackgroundGeolocationPlugin"
43
43
  public let jsName = "BackgroundGeolocation"
44
44
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/background-geolocation",
3
- "version": "8.0.39",
3
+ "version": "8.0.41",
4
4
  "description": "Accurate background geolocation and native geofencing for Capacitor apps on iOS and Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -42,7 +42,10 @@
42
42
  "build": "bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs",
43
43
  "clean": "rimraf ./dist",
44
44
  "watch": "tsc --watch",
45
- "prepublishOnly": "bun run build"
45
+ "prepublishOnly": "bun run build",
46
+ "example:install": "cd example-app && bun install --frozen-lockfile",
47
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
48
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
46
49
  },
47
50
  "keywords": [
48
51
  "capacitor",