@capgo/native-audio 8.2.2 → 8.2.4
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/Package.swift +1 -1
- package/README.md +11 -0
- package/ios/Sources/NativeAudioPlugin/Plugin.swift +1 -1
- package/package.json +1 -1
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: "8.0.
|
|
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/README.md
CHANGED
|
@@ -75,6 +75,17 @@ Then use it in preload like that `assets/sounds/FILENAME.mp3`
|
|
|
75
75
|
|
|
76
76
|
The most complete doc is available here: https://capgo.app/docs/plugins/native-audio/
|
|
77
77
|
|
|
78
|
+
## Compatibility
|
|
79
|
+
|
|
80
|
+
| Plugin version | Capacitor compatibility | Maintained |
|
|
81
|
+
| -------------- | ----------------------- | ---------- |
|
|
82
|
+
| v8.\*.\* | v8.\*.\* | ✅ |
|
|
83
|
+
| v7.\*.\* | v7.\*.\* | On demand |
|
|
84
|
+
| v6.\*.\* | v6.\*.\* | ❌ |
|
|
85
|
+
| v5.\*.\* | v5.\*.\* | ❌ |
|
|
86
|
+
|
|
87
|
+
> **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.
|
|
88
|
+
|
|
78
89
|
## Installation
|
|
79
90
|
|
|
80
91
|
To use npm
|
|
@@ -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 = "8.2.
|
|
16
|
+
private let pluginVersion: String = "8.2.4"
|
|
17
17
|
public let identifier = "NativeAudio"
|
|
18
18
|
public let jsName = "NativeAudio"
|
|
19
19
|
public let pluginMethods: [CAPPluginMethod] = [
|