@capgo/capacitor-volume-buttons 8.1.5 → 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.
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@ React to the hardware volume buttons in your Capacitor app, to take a photo, tur
|
|
|
8
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_volume_buttons">➡️ Get started for free</a></h2>
|
|
10
10
|
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
-
<p><a href="https://capgo.app/consulting/?ref=plugin_volume_buttons">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
12
11
|
</div>
|
|
13
12
|
|
|
14
13
|
> 🤖 **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_volume_buttons) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-volume-buttons` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-volume-buttons to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_volume_buttons) · [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_volume_buttons)
|
|
@@ -11,7 +11,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
11
11
|
@CapacitorPlugin(name = "VolumeButtons")
|
|
12
12
|
public class VolumeButtonsPlugin extends Plugin {
|
|
13
13
|
|
|
14
|
-
private final String pluginVersion = "8.1.
|
|
14
|
+
private final String pluginVersion = "8.1.6";
|
|
15
15
|
|
|
16
16
|
@Override
|
|
17
17
|
public void load() {
|
|
@@ -19,7 +19,7 @@ private extension MPVolumeView {
|
|
|
19
19
|
|
|
20
20
|
@objc(VolumeButtonsPlugin)
|
|
21
21
|
public class VolumeButtonsPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
22
|
-
private let pluginVersion: String = "8.1.
|
|
22
|
+
private let pluginVersion: String = "8.1.6"
|
|
23
23
|
public let identifier = "VolumeButtonsPlugin"
|
|
24
24
|
public let jsName = "VolumeButtons"
|
|
25
25
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-volume-buttons",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.6",
|
|
4
4
|
"description": "Capacitor plugin to listen to volume button presses",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"verify:web": "npm run build",
|
|
40
40
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
41
41
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
42
|
-
"eslint": "eslint
|
|
42
|
+
"eslint": "eslint",
|
|
43
43
|
"prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
44
44
|
"swiftlint": "node-swiftlint",
|
|
45
45
|
"docgen": "docgen --api VolumeButtonsPlugin --output-readme README.md --output-json dist/docs.json",
|
|
@@ -58,18 +58,18 @@
|
|
|
58
58
|
"@capacitor/core": "^8.0.0",
|
|
59
59
|
"@capacitor/docgen": "^0.3.1",
|
|
60
60
|
"@capacitor/ios": "^8.0.0",
|
|
61
|
-
"@ionic/eslint-config": "^0.
|
|
61
|
+
"@ionic/eslint-config": "^0.5.0",
|
|
62
62
|
"@ionic/prettier-config": "^4.0.0",
|
|
63
63
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
64
64
|
"@types/node": "^24.10.1",
|
|
65
|
-
"eslint": "^
|
|
65
|
+
"eslint": "^10.0.0",
|
|
66
66
|
"eslint-plugin-import": "^2.31.0",
|
|
67
67
|
"prettier": "^3.6.2",
|
|
68
68
|
"prettier-plugin-java": "^2.7.7",
|
|
69
69
|
"rimraf": "^6.1.0",
|
|
70
70
|
"rollup": "^4.53.2",
|
|
71
71
|
"swiftlint": "^2.0.0",
|
|
72
|
-
"typescript": "^
|
|
72
|
+
"typescript": "^6.0.3",
|
|
73
73
|
"prettier-pretty-check": "^0.2.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
@@ -77,9 +77,6 @@
|
|
|
77
77
|
},
|
|
78
78
|
"prettier": "@ionic/prettier-config",
|
|
79
79
|
"swiftlint": "@ionic/swiftlint-config",
|
|
80
|
-
"eslintConfig": {
|
|
81
|
-
"extends": "@ionic/eslint-config/recommended"
|
|
82
|
-
},
|
|
83
80
|
"capacitor": {
|
|
84
81
|
"ios": {
|
|
85
82
|
"src": "ios"
|