react-native-voice-oop

2.0.0 • Public • Published

react-native-voice-oop

A tiny wrapper on react-native-voice which enables OOP style usage of this Speech To Text library. Prevents memory leaks and problems with usage from multiple components.

However the goal of this package is NOT to fix some usability issues (triggering start twice - probably could be splitted into two events, triggering empty partial results, see documentation for more details).

Install & Use

See documentation.

Features

  • Prevents memory leaks
  • Fixes problems with using the library from multiple components
  • 100% unit tested

TODO

  • Method that will allow to queue start calls from multiple instances?
  • Pass after-results events (nothing useful) to last instance?
  • Allow force-stop/cancel from another instance?

License

MIT

Package Sidebar

Install

npm i react-native-voice-oop

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

146 kB

Total Files

29

Last publish

Collaborators

  • dzek69