@capgo/capacitor-proximity 8.1.4 → 8.1.6

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 +14 -0
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -41,6 +41,20 @@ On Android, it listens to the device proximity sensor and dims the active app wi
41
41
 
42
42
  ## Install
43
43
 
44
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
45
+
46
+ ```bash
47
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
48
+ ```
49
+
50
+ Then use the following prompt:
51
+
52
+ ```text
53
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-proximity` plugin in my project.
54
+ ```
55
+
56
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
57
+
44
58
  ```bash
45
59
  bun add @capgo/capacitor-proximity
46
60
  bunx cap sync
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-proximity",
3
- "version": "8.1.4",
3
+ "version": "8.1.6",
4
4
  "description": "Capacitor plugin for enabling proximity monitoring in mobile apps.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -52,7 +52,10 @@
52
52
  "clean": "rimraf ./dist",
53
53
  "watch": "tsc --watch",
54
54
  "prepublishOnly": "bun run build",
55
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
55
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
56
+ "example:install": "cd example-app && bun install --frozen-lockfile",
57
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
58
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
56
59
  },
57
60
  "devDependencies": {
58
61
  "@capacitor/android": "^8.0.0",