@capgo/capacitor-audio-recorder 7.1.3 → 7.1.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.
|
@@ -25,7 +25,7 @@ import java.util.Locale;
|
|
|
25
25
|
)
|
|
26
26
|
public class CapacitorAudioRecorderPlugin extends com.getcapacitor.Plugin {
|
|
27
27
|
|
|
28
|
-
private final String
|
|
28
|
+
private final String pluginVersion = "7.1.4";
|
|
29
29
|
|
|
30
30
|
private enum RecordingStatus {
|
|
31
31
|
INACTIVE,
|
|
@@ -289,7 +289,7 @@ public class CapacitorAudioRecorderPlugin extends com.getcapacitor.Plugin {
|
|
|
289
289
|
public void getPluginVersion(final PluginCall call) {
|
|
290
290
|
try {
|
|
291
291
|
final JSObject ret = new JSObject();
|
|
292
|
-
ret.put("version", this.
|
|
292
|
+
ret.put("version", this.pluginVersion);
|
|
293
293
|
call.resolve(ret);
|
|
294
294
|
} catch (final Exception e) {
|
|
295
295
|
call.reject("Could not get plugin version", e);
|
|
@@ -4,7 +4,7 @@ import Foundation
|
|
|
4
4
|
|
|
5
5
|
@objc(CapacitorAudioRecorderPlugin)
|
|
6
6
|
public class CapacitorAudioRecorderPlugin: CAPPlugin, CAPBridgedPlugin, AVAudioRecorderDelegate {
|
|
7
|
-
private let
|
|
7
|
+
private let pluginVersion: String = "7.1.4"
|
|
8
8
|
public let identifier = "CapacitorAudioRecorderPlugin"
|
|
9
9
|
public let jsName = "CapacitorAudioRecorder"
|
|
10
10
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -322,6 +322,6 @@ public class CapacitorAudioRecorderPlugin: CAPPlugin, CAPBridgedPlugin, AVAudioR
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
325
|
-
call.resolve(["version": self.
|
|
325
|
+
call.resolve(["version": self.pluginVersion])
|
|
326
326
|
}
|
|
327
327
|
}
|