@capgo/capacitor-speech-synthesis 8.0.9 → 8.0.11
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
|
@@ -21,6 +21,17 @@ A free, open-source alternative providing complete text-to-speech capabilities:
|
|
|
21
21
|
|
|
22
22
|
Perfect for accessibility features, language learning apps, audiobook players, and any app needing text-to-speech.
|
|
23
23
|
|
|
24
|
+
## Compatibility
|
|
25
|
+
|
|
26
|
+
| Plugin version | Capacitor compatibility | Maintained |
|
|
27
|
+
| -------------- | ----------------------- | ---------- |
|
|
28
|
+
| v8.\*.\* | v8.\*.\* | ✅ |
|
|
29
|
+
| v7.\*.\* | v7.\*.\* | On demand |
|
|
30
|
+
| v6.\*.\* | v6.\*.\* | ❌ |
|
|
31
|
+
| v5.\*.\* | v5.\*.\* | ❌ |
|
|
32
|
+
|
|
33
|
+
> **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.
|
|
34
|
+
|
|
24
35
|
## Install
|
|
25
36
|
|
|
26
37
|
```bash
|
|
@@ -21,7 +21,7 @@ import org.json.JSONException;
|
|
|
21
21
|
@CapacitorPlugin(name = "SpeechSynthesis")
|
|
22
22
|
public class SpeechSynthesisPlugin extends Plugin {
|
|
23
23
|
|
|
24
|
-
private final String pluginVersion = "8.0.
|
|
24
|
+
private final String pluginVersion = "8.0.11";
|
|
25
25
|
private TextToSpeech tts;
|
|
26
26
|
private int utteranceIdCounter = 0;
|
|
27
27
|
private boolean ttsInitialized = false;
|
|
@@ -7,7 +7,7 @@ import AVFoundation
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(SpeechSynthesisPlugin)
|
|
9
9
|
public class SpeechSynthesisPlugin: CAPPlugin, CAPBridgedPlugin, AVSpeechSynthesizerDelegate {
|
|
10
|
-
private let pluginVersion: String = "8.0.
|
|
10
|
+
private let pluginVersion: String = "8.0.11"
|
|
11
11
|
public let identifier = "SpeechSynthesisPlugin"
|
|
12
12
|
public let jsName = "SpeechSynthesis"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-speech-synthesis",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.11",
|
|
4
4
|
"description": "Synthesize speech from text with full control over language, voice, pitch, rate, and volume.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|