react-native-davoice-tts 1.0.348 → 1.0.349
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/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar +0 -0
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.md5 +1 -1
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.sha1 +1 -1
- package/android/src/main/java/com/davoice/stt/rn/STTModule.kt +0 -3
- package/package.json +1 -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.251" # 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 .
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
31339323b8cc47df42fbc34611b21639 tts-1.0.0.aar
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dfb8006150a99e45bd872ce911b1e890b920c93d tts-1.0.0.aar
|
|
@@ -6,7 +6,6 @@ import com.facebook.react.modules.core.DeviceEventManagerModule
|
|
|
6
6
|
import com.davoice.stt.STT
|
|
7
7
|
import com.davoice.stt.STTDelegate
|
|
8
8
|
import com.davoice.tts.LicenseManager
|
|
9
|
-
import android.util.Log
|
|
10
9
|
|
|
11
10
|
@ReactModule(name = STTModule.NAME)
|
|
12
11
|
class STTModule(private val rc: ReactApplicationContext)
|
|
@@ -23,7 +22,6 @@ class STTModule(private val rc: ReactApplicationContext)
|
|
|
23
22
|
@ReactMethod fun removeListeners(count: Double) {}
|
|
24
23
|
|
|
25
24
|
private fun send(name: String, body: WritableMap? = null) {
|
|
26
|
-
Log.w("STTModule", "[RNDBG] emitting $name to JS")
|
|
27
25
|
rc.runOnUiQueueThread {
|
|
28
26
|
rc.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
|
|
29
27
|
.emit(name, body)
|
|
@@ -227,7 +225,6 @@ class STTModule(private val rc: ReactApplicationContext)
|
|
|
227
225
|
}
|
|
228
226
|
|
|
229
227
|
override fun onSpeechPartialResults(list: List<String>) {
|
|
230
|
-
Log.w("STTModule", "[RNDBG] onSpeechPartialResults delegate reached size=${list.size}")
|
|
231
228
|
val arr = Arguments.createArray().apply { list.forEach { pushString(it) } }
|
|
232
229
|
val m = Arguments.createMap().apply { putArray("value", arr) }
|
|
233
230
|
send("onSpeechPartialResults", m)
|