@capgo/native-audio 8.3.6 → 8.3.7
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
|
-
import AVFoundation
|
|
1
|
+
@preconcurrency import AVFoundation
|
|
2
2
|
import Capacitor
|
|
3
3
|
import CoreAudio
|
|
4
4
|
import Foundation
|
|
5
|
-
import MediaPlayer
|
|
5
|
+
@preconcurrency import MediaPlayer
|
|
6
6
|
|
|
7
7
|
enum MyError: Error {
|
|
8
8
|
case runtimeError(String)
|
|
@@ -12,7 +12,7 @@ enum MyError: Error {
|
|
|
12
12
|
@objc(NativeAudio)
|
|
13
13
|
// swiftlint:disable:next type_body_length
|
|
14
14
|
public class NativeAudio: CAPPlugin, AVAudioPlayerDelegate, CAPBridgedPlugin {
|
|
15
|
-
private let pluginVersion: String = "8.3.
|
|
15
|
+
private let pluginVersion: String = "8.3.7"
|
|
16
16
|
public let identifier = "NativeAudio"
|
|
17
17
|
public let jsName = "NativeAudio"
|
|
18
18
|
public let pluginMethods: [CAPPluginMethod] = [
|