@capgo/native-audio 7.9.2 → 7.9.5
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 +1 -1
- package/android/build.gradle +1 -1
- 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: "7.
|
|
16
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
|
|
17
17
|
],
|
|
18
18
|
targets: [
|
|
19
19
|
.target(
|
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Mainteinance Status: Actively Maintained
|
|
|
68
68
|
|
|
69
69
|
All audio files must be with the rest of your source files.
|
|
70
70
|
|
|
71
|
-
First make your sound file end up in your
|
|
71
|
+
First make your sound file end up in your built code folder, example in folder `BUILDFOLDER/assets/sounds/FILENAME.mp3`
|
|
72
72
|
Then use it in preload like that `assets/sounds/FILENAME.mp3`
|
|
73
73
|
|
|
74
74
|
## Documentation
|
package/android/build.gradle
CHANGED
|
@@ -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 = "7.9.
|
|
16
|
+
private let pluginVersion: String = "7.9.5"
|
|
17
17
|
public let identifier = "NativeAudio"
|
|
18
18
|
public let jsName = "NativeAudio"
|
|
19
19
|
public let pluginMethods: [CAPPluginMethod] = [
|