@capgo/capacitor-mute 1.1.53 → 2.0.3

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.
@@ -1,8 +1,8 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
4
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
5
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
4
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
5
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
6
6
  }
7
7
 
8
8
  buildscript {
@@ -11,17 +11,18 @@ buildscript {
11
11
  google()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:7.3.1'
14
+ classpath 'com.android.tools.build:gradle:8.0.0'
15
15
  }
16
16
  }
17
17
 
18
18
  apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
21
+ namespace "ee.forgr.plugin.mute"
22
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
22
23
  defaultConfig {
23
24
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
24
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
25
26
  versionCode 1
26
27
  versionName "1.0"
27
28
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -36,8 +37,8 @@ android {
36
37
  abortOnError false
37
38
  }
38
39
  compileOptions {
39
- sourceCompatibility JavaVersion.VERSION_1_8
40
- targetCompatibility JavaVersion.VERSION_1_8
40
+ sourceCompatibility JavaVersion.VERSION_17
41
+ targetCompatibility JavaVersion.VERSION_17
41
42
  }
42
43
  }
43
44
 
@@ -1,3 +1,3 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="ee.forgr.plugin.mute">
2
+ >
3
3
  </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-mute",
3
- "version": "1.1.53",
3
+ "version": "2.0.3",
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",
@@ -44,28 +44,28 @@
44
44
  "prepublishOnly": "npm run build"
45
45
  },
46
46
  "devDependencies": {
47
- "@capacitor/android": "^4.4.0",
48
- "@capacitor/cli": "^4.4.0",
49
- "@capacitor/core": "^4.4.0",
50
- "@capacitor/docgen": "^0.2.0",
51
- "@capacitor/ios": "^4.4.0",
47
+ "@capacitor/android": "^5.0.3",
48
+ "@capacitor/cli": "^5.0.3",
49
+ "@capacitor/core": "^5.0.0",
50
+ "@capacitor/docgen": "^0.2.1",
51
+ "@capacitor/ios": "^5.0.3",
52
52
  "@ionic/eslint-config": "^0.3.0",
53
- "@ionic/prettier-config": "^2.0.0",
53
+ "@ionic/prettier-config": "^3.0.0",
54
54
  "@ionic/swiftlint-config": "^1.1.2",
55
- "@typescript-eslint/eslint-plugin": "^5.42.1",
56
- "@typescript-eslint/parser": "^5.42.1",
57
- "eslint": "^8.27.0",
58
- "eslint-plugin-import": "^2.26.0",
59
- "husky": "^8.0.2",
60
- "prettier": "^2.7.1",
61
- "prettier-plugin-java": "^2.0.0",
62
- "rimraf": "^3.0.2",
63
- "rollup": "^3.2.5",
64
- "swiftlint": "^1.0.1",
65
- "typescript": "^4.8.4"
55
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
56
+ "@typescript-eslint/parser": "^5.59.6",
57
+ "eslint": "^8.41.0",
58
+ "eslint-plugin-import": "^2.27.5",
59
+ "husky": "^8.0.3",
60
+ "prettier": "^2.8.8",
61
+ "prettier-plugin-java": "^2.1.0",
62
+ "rimraf": "^5.0.1",
63
+ "rollup": "^3.23.0",
64
+ "swiftlint": "^1.0.2",
65
+ "typescript": "^5.0.4"
66
66
  },
67
67
  "peerDependencies": {
68
- "@capacitor/core": "^4.0.0"
68
+ "@capacitor/core": "^5.0.0"
69
69
  },
70
70
  "prettier": "@ionic/prettier-config",
71
71
  "swiftlint": "@ionic/swiftlint-config",