react-native-davoice-tts 1.0.346 → 1.0.347
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/TTSRNBridge.podspec +1 -1
- package/package.json +1 -1
- package/speech/index.ts +3 -1
package/TTSRNBridge.podspec
CHANGED
|
@@ -2,7 +2,7 @@ require 'json'
|
|
|
2
2
|
|
|
3
3
|
Pod::Spec.new do |s|
|
|
4
4
|
s.name = "TTSRNBridge"
|
|
5
|
-
s.version = "1.0.
|
|
5
|
+
s.version = "1.0.249" # Update to your package version
|
|
6
6
|
s.summary = "TTS for React Native."
|
|
7
7
|
s.description = <<-DESC
|
|
8
8
|
A React Native module for tts .
|
package/package.json
CHANGED
package/speech/index.ts
CHANGED
|
@@ -1272,7 +1272,9 @@ class Speech {
|
|
|
1272
1272
|
onSpeechResults: (e: any) => this.handlers.onSpeechResults(e),
|
|
1273
1273
|
onSpeechPartialResults: (e: any) => this.handlers.onSpeechPartialResults(e),
|
|
1274
1274
|
onSpeechVolumeChanged: (e: any) => this.handlers.onSpeechVolumeChanged(e),
|
|
1275
|
-
|
|
1275
|
+
...(Platform.OS === 'android'
|
|
1276
|
+
? { onNewSpeechWAV: (e: any) => this.handlers.onNewSpeechWAV(e) }
|
|
1277
|
+
: {}),
|
|
1276
1278
|
};
|
|
1277
1279
|
(Object.keys(sttMap) as (keyof typeof sttMap)[]).forEach((name) => {
|
|
1278
1280
|
try {
|