@capgo/native-audio 7.11.1 → 8.0.1
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/CapgoNativeAudio.podspec +1 -1
- package/Package.swift +1 -1
- package/android/build.gradle +10 -10
- package/ios/Sources/NativeAudioPlugin/Plugin.swift +1 -1
- package/package.json +14 -14
package/CapgoNativeAudio.podspec
CHANGED
|
@@ -11,6 +11,6 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
|
13
13
|
s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '15.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
end
|
package/Package.swift
CHANGED
|
@@ -13,7 +13,7 @@ let package = Package(
|
|
|
13
13
|
)
|
|
14
14
|
],
|
|
15
15
|
dependencies: [
|
|
16
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "
|
|
16
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
|
|
17
17
|
],
|
|
18
18
|
targets: [
|
|
19
19
|
.target(
|
package/android/build.gradle
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
|
3
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.
|
|
4
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.
|
|
5
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.
|
|
3
|
+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
|
|
4
|
+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
|
|
5
|
+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
|
|
6
6
|
|
|
7
7
|
// Read HLS configuration from gradle.properties (set by hook script)
|
|
8
8
|
// Default to 'true' for backward compatibility
|
|
@@ -15,18 +15,18 @@ buildscript {
|
|
|
15
15
|
mavenCentral()
|
|
16
16
|
}
|
|
17
17
|
dependencies {
|
|
18
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
18
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
apply plugin: 'com.android.library'
|
|
23
23
|
|
|
24
24
|
android {
|
|
25
|
-
namespace "ee.forgr.audio.nativeaudio"
|
|
26
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
25
|
+
namespace = "ee.forgr.audio.nativeaudio"
|
|
26
|
+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
27
27
|
defaultConfig {
|
|
28
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
29
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
28
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
29
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
30
30
|
versionCode 1
|
|
31
31
|
versionName "1.0"
|
|
32
32
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -38,7 +38,7 @@ android {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
lintOptions {
|
|
41
|
-
abortOnError false
|
|
41
|
+
abortOnError = false
|
|
42
42
|
}
|
|
43
43
|
compileOptions {
|
|
44
44
|
sourceCompatibility JavaVersion.VERSION_21
|
|
@@ -80,7 +80,7 @@ dependencies {
|
|
|
80
80
|
|
|
81
81
|
implementation 'androidx.media3:media3-session:1.8.0'
|
|
82
82
|
implementation 'androidx.media3:media3-transformer:1.8.0'
|
|
83
|
-
implementation 'androidx.media3:media3-ui:1.
|
|
83
|
+
implementation 'androidx.media3:media3-ui:1.8.0'
|
|
84
84
|
implementation 'androidx.media3:media3-database:1.8.0'
|
|
85
85
|
implementation 'androidx.media3:media3-common:1.8.0'
|
|
86
86
|
// Media notification support
|
|
@@ -13,7 +13,7 @@ enum MyError: Error {
|
|
|
13
13
|
// swiftlint:disable type_body_length file_length
|
|
14
14
|
@objc(NativeAudio)
|
|
15
15
|
public class NativeAudio: CAPPlugin, AVAudioPlayerDelegate, CAPBridgedPlugin {
|
|
16
|
-
private let pluginVersion: String = "
|
|
16
|
+
private let pluginVersion: String = "8.0.1"
|
|
17
17
|
public let identifier = "NativeAudio"
|
|
18
18
|
public let jsName = "NativeAudio"
|
|
19
19
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/native-audio",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "A native plugin for native audio engine",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"main": "dist/plugin.cjs.js",
|
|
@@ -54,27 +54,27 @@
|
|
|
54
54
|
"prepublishOnly": "npm run build"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@capacitor/android": "^
|
|
58
|
-
"@capacitor/cli": "^
|
|
59
|
-
"@capacitor/core": "^
|
|
60
|
-
"@capacitor/docgen": "^0.3.
|
|
61
|
-
"@capacitor/ios": "^
|
|
57
|
+
"@capacitor/android": "^8.0.0",
|
|
58
|
+
"@capacitor/cli": "^8.0.0",
|
|
59
|
+
"@capacitor/core": "^8.0.0",
|
|
60
|
+
"@capacitor/docgen": "^0.3.1",
|
|
61
|
+
"@capacitor/ios": "^8.0.0",
|
|
62
62
|
"@ionic/eslint-config": "^0.4.0",
|
|
63
63
|
"@ionic/prettier-config": "^4.0.0",
|
|
64
64
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
65
|
-
"@types/node": "^
|
|
66
|
-
"eslint": "^8.57.
|
|
65
|
+
"@types/node": "^24.10.1",
|
|
66
|
+
"eslint": "^8.57.1",
|
|
67
67
|
"eslint-plugin-import": "^2.31.0",
|
|
68
68
|
"husky": "^9.1.7",
|
|
69
|
-
"prettier": "^3.
|
|
70
|
-
"prettier-plugin-java": "^2.
|
|
71
|
-
"rimraf": "^6.0
|
|
72
|
-
"rollup": "^4.
|
|
69
|
+
"prettier": "^3.6.2",
|
|
70
|
+
"prettier-plugin-java": "^2.7.7",
|
|
71
|
+
"rimraf": "^6.1.0",
|
|
72
|
+
"rollup": "^4.53.2",
|
|
73
73
|
"swiftlint": "^2.0.0",
|
|
74
|
-
"typescript": "^5.
|
|
74
|
+
"typescript": "^5.9.3"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@capacitor/core": ">=
|
|
77
|
+
"@capacitor/core": ">=8.0.0"
|
|
78
78
|
},
|
|
79
79
|
"prettier": "@ionic/prettier-config",
|
|
80
80
|
"swiftlint": "@ionic/swiftlint-config",
|