@capgo/capacitor-audio-recorder 7.1.3 → 7.1.6

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/README.md CHANGED
@@ -9,7 +9,17 @@
9
9
 
10
10
  Capture audio clips across iOS, Android, and the Web with a consistent Capacitor API.
11
11
 
12
- WIP: the plugin is not yet ready for production
12
+ ## Why Capacitor Audio Recorder?
13
+
14
+ The only **free** and **up-to-date** audio recording plugin for Capacitor:
15
+
16
+ - **Same JavaScript API** - Compatible interface with paid plugins
17
+ - **Full feature set** - Pause/resume, configurable bitrates, sample rates
18
+ - **Cross-platform** - iOS, Android, and Web support
19
+ - **Modern implementation** - Uses latest platform APIs
20
+ - **Event listeners** - Real-time recording status and error handling
21
+
22
+ Perfect for voice memo apps, audio messaging, podcast recording, and any app needing audio capture.
13
23
 
14
24
  ## Documentation
15
25
 
@@ -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 PLUGIN_VERSION = "7.1.3";
28
+ private final String pluginVersion = "7.1.6";
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.PLUGIN_VERSION);
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 PLUGIN_VERSION: String = "7.1.3"
7
+ private let pluginVersion: String = "7.1.6"
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.PLUGIN_VERSION])
325
+ call.resolve(["version": self.pluginVersion])
326
326
  }
327
327
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-audio-recorder",
3
- "version": "7.1.3",
3
+ "version": "7.1.6",
4
4
  "description": "Record audio on iOS, Android, and Web with Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",