react-native-davoice-tts 1.0.348 → 1.0.350

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.250" # Update to your package version
5
+ s.version = "1.0.252" # 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
- e6b3ccca1d47c3f1670ade5be71b8413 tts-1.0.0.aar
1
+ ce4aa4dc86cc3eb0856d133171027d42 tts-1.0.0.aar
@@ -1 +1 @@
1
- 9c3ff21938395477d8aec299af7d3ddef07db789 tts-1.0.0.aar
1
+ 3d4da3dd6a6f3f157344c3404b3a123d01685810 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.348",
3
+ "version": "1.0.350",
4
4
  "description": "tts library for React Native",
5
5
  "main": "tts/index.js",
6
6
  "types": "tts/index.d.ts",