react-native-davoice-tts 1.0.347 → 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.
@@ -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.249" # Update to your package version
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 .
@@ -1 +1 @@
1
- bd97a4af4a770e3cc8f004ed838378bc tts-1.0.0.aar
1
+ 31339323b8cc47df42fbc34611b21639 tts-1.0.0.aar
@@ -1 +1 @@
1
- d6f35be0cf970cfafd23ef6ab3283b98ea8b9458 tts-1.0.0.aar
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-davoice-tts",
3
- "version": "1.0.347",
3
+ "version": "1.0.349",
4
4
  "description": "tts library for React Native",
5
5
  "main": "tts/index.js",
6
6
  "types": "tts/index.d.ts",