The current API doesn't allow to update listeners after Voice.start() while it's recording. This can be problematic if you're using hooks and your callback functions need to update as your component state is changing.
I've written the following patch for anyone interested, to be applied with patch-package:
The current API doesn't allow to update listeners after
Voice.start()
while it's recording. This can be problematic if you're using hooks and your callback functions need to update as your component state is changing.I've written the following patch for anyone interested, to be applied with
patch-package
: