@capgo/capacitor-pedometer 8.0.32 → 8.0.34

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
@@ -17,6 +17,20 @@ Capacitor plugin for accessing pedometer data including steps, distance, pace, c
17
17
 
18
18
  ## Install
19
19
 
20
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
21
+
22
+ ```bash
23
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
24
+ ```
25
+
26
+ Then use the following prompt:
27
+
28
+ ```text
29
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-pedometer` plugin in my project.
30
+ ```
31
+
32
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
33
+
20
34
  ```bash
21
35
  npm install @capgo/capacitor-pedometer
22
36
  npx cap sync
@@ -24,7 +24,7 @@ import com.getcapacitor.annotation.PermissionCallback;
24
24
  )
25
25
  public class CapacitorPedometerPlugin extends Plugin implements SensorEventListener {
26
26
 
27
- private final String pluginVersion = "8.0.32";
27
+ private final String pluginVersion = "8.0.34";
28
28
  private static final String PERMISSION_GRANTED = "granted";
29
29
  private static final String PERMISSION_DENIED = "denied";
30
30
  private static final String PERMISSION_PROMPT = "prompt";
@@ -4,7 +4,7 @@ import Foundation
4
4
 
5
5
  @objc(CapacitorPedometerPlugin)
6
6
  public class CapacitorPedometerPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.0.32"
7
+ private let pluginVersion: String = "8.0.34"
8
8
  public let identifier = "CapacitorPedometerPlugin"
9
9
  public let jsName = "CapacitorPedometer"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-pedometer",
3
- "version": "8.0.32",
3
+ "version": "8.0.34",
4
4
  "description": "Capacitor plugin for accessing pedometer data including steps, distance, pace, cadence, and floors",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -50,8 +50,11 @@
50
50
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
51
51
  "clean": "rimraf ./dist",
52
52
  "watch": "tsc --watch",
53
- "prepublishOnly": "npm run build",
54
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
53
+ "prepublishOnly": "bun run build",
54
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
55
+ "example:install": "cd example-app && bun install --frozen-lockfile",
56
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
57
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
55
58
  },
56
59
  "devDependencies": {
57
60
  "@capacitor/android": "^8.0.0",