Replies: 2 comments
-
|
Thanks @solominh for the detailed suggestions and the comparison with the expo speech. We'll review supporting multiple subscriptions by either (1) moving the subscribe function into the options object or (2) allowing speak calls to include an id that subscription handlers can filter by. We'll evaluate which approach best preserves the library's goals of quality, compatibility, and developer-friendliness. If accepted, we’ll add it and follow up in this thread. |
Beta Was this translation helpful? Give feedback.
-
|
New version v1.4.0 just released. The speak method now returns a unique ID, making it easier to filter and handle multiple events (as shown in the example's RootView component). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I currently using expo-speech. Quite ok on iOS but slow on Android (onDone event slow to run)
This lib is so fast.
But this lib only handle case single subscription.
If many subscription will fail.
Suggestion 1: move subscribe function to options like expo-speech
Suggestion 2: allow speak with an id and subscribe function need a id parameter Thanks.
Beta Was this translation helpful? Give feedback.
All reactions