@capgo/capacitor-mute 7.3.19 → 8.0.2

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.
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  'Mute' => ['ios/Sources/MutePlugin/Assets/*.aiff']
16
16
  }
17
17
  s.pod_target_xcconfig = { 'CODE_SIGNING_ALLOWED' => 'NO' }
18
- s.ios.deployment_target = '14.0'
18
+ s.ios.deployment_target = '15.0'
19
19
  s.dependency 'Capacitor'
20
20
  s.frameworks = 'Foundation', 'AudioToolbox'
21
21
  s.swift_version = '5.1'
package/Package.swift CHANGED
@@ -3,14 +3,14 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapgoCapacitorMute",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapgoCapacitorMute",
10
10
  targets: ["MutePlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
14
14
  ],
15
15
  targets: [
16
16
  .target(
@@ -1,8 +1,8 @@
1
1
  ext {
2
2
  junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
4
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
5
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
3
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
4
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
5
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
6
6
  }
7
7
 
8
8
  buildscript {
@@ -11,18 +11,18 @@ buildscript {
11
11
  google()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:8.7.2'
14
+ classpath 'com.android.tools.build:gradle:8.13.0'
15
15
  }
16
16
  }
17
17
 
18
18
  apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
- namespace "ee.forgr.plugin.mute"
22
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
21
+ namespace = "ee.forgr.plugin.mute"
22
+ compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
23
23
  defaultConfig {
24
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
25
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
24
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
26
26
  versionCode 1
27
27
  versionName "1.0"
28
28
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -34,7 +34,7 @@ android {
34
34
  }
35
35
  }
36
36
  lintOptions {
37
- abortOnError false
37
+ abortOnError = false
38
38
  }
39
39
  compileOptions {
40
40
  sourceCompatibility JavaVersion.VERSION_21
@@ -11,7 +11,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
11
11
  @CapacitorPlugin(name = "Mute")
12
12
  public class MutePlugin extends Plugin {
13
13
 
14
- private final String pluginVersion = "7.3.19";
14
+ private final String pluginVersion = "8.0.2";
15
15
 
16
16
  @PluginMethod
17
17
  public void isMuted(PluginCall call) {
@@ -7,7 +7,7 @@ import Capacitor
7
7
  */
8
8
  @objc(MutePlugin)
9
9
  public class MutePlugin: CAPPlugin, CAPBridgedPlugin {
10
- private let pluginVersion: String = "7.3.19"
10
+ private let pluginVersion: String = "8.0.2"
11
11
  public let identifier = "MutePlugin"
12
12
  public let jsName = "Mute"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-mute",
3
- "version": "7.3.19",
3
+ "version": "8.0.2",
4
4
  "description": "Detect if the mute switch is enabled/disabled on a device",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -24,6 +24,7 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/Cap-go/capacitor-mute/issues"
26
26
  },
27
+ "homepage": "https://capgo.app/docs/plugins/mute/",
27
28
  "keywords": [
28
29
  "capacitor",
29
30
  "plugin",
@@ -54,27 +55,27 @@
54
55
  "prepublishOnly": "npm run build"
55
56
  },
56
57
  "devDependencies": {
57
- "@capacitor/android": "^7.0.0",
58
- "@capacitor/cli": "^7.0.0",
59
- "@capacitor/core": "^7.0.0",
60
- "@capacitor/docgen": "^0.3.0",
61
- "@capacitor/ios": "^7.0.0",
58
+ "@capacitor/android": "^8.0.0",
59
+ "@capacitor/cli": "^8.0.0",
60
+ "@capacitor/core": "^8.0.0",
61
+ "@capacitor/docgen": "^0.3.1",
62
+ "@capacitor/ios": "^8.0.0",
62
63
  "@ionic/eslint-config": "^0.4.0",
63
64
  "@ionic/prettier-config": "^4.0.0",
64
65
  "@ionic/swiftlint-config": "^2.0.0",
65
- "@types/node": "^22.13.1",
66
- "eslint": "^8.57.0",
66
+ "@types/node": "^24.10.1",
67
+ "eslint": "^8.57.1",
67
68
  "eslint-plugin-import": "^2.31.0",
68
69
  "husky": "^9.1.7",
69
- "prettier": "^3.4.2",
70
- "prettier-plugin-java": "^2.6.7",
71
- "rimraf": "^6.0.1",
72
- "rollup": "^4.34.6",
70
+ "prettier": "^3.6.2",
71
+ "prettier-plugin-java": "^2.7.7",
72
+ "rimraf": "^6.1.0",
73
+ "rollup": "^4.53.2",
73
74
  "swiftlint": "^2.0.0",
74
- "typescript": "^5.7.3"
75
+ "typescript": "^5.9.3"
75
76
  },
76
77
  "peerDependencies": {
77
- "@capacitor/core": ">=7.0.0"
78
+ "@capacitor/core": ">=8.0.0"
78
79
  },
79
80
  "eslintConfig": {
80
81
  "extends": "@ionic/eslint-config/recommended"