Constructor binds Voice, but is already set upon reload.
Hey, I was curious if there is a way to free the bindings set in the constructor. The RN Voice module is very handy, but when I remove the bindings from the constructor, my app does not crash upon reload. Is there a way to bind, or not bind in the constructor, but still have the native voice capabilities? Thank you!
KJ Garrett
the current body of code looks like this and the RN Voice module works phenomenally. I guess what I'm saying is, is there a way to "deconstruct" these instantiations?
Thanks!
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: onSpeechError with body: {
error = {
message = "209/The operation couldn\U2019t be completed. (kAFAssistantErrorDomain error 209.)";
};
}. Bridge is not set. This is probably because you've explicitly synthesized the bridge in Voice, even though it's inherited from RCTEventEmitter.'
This command has not changed anything: Voice.destroy().then(Voice.removeAllListeners);
@KijanaG Did you solved your problem??
This project has been deprecated and archived. Please migrate to expo-speech-recognition. Thank you for your contributions! ❤️
This project has been deprecated and archived. Please migrate to expo-speech-recognition. Thank you for your contributions! ❤️