EddyVerbruggen / nativescript-speech-recognition

:speech_balloon: Speech to text, using the awesome engines readily available on the device.
Other
91 stars 23 forks source link

Documentation #17

Closed horeyes closed 6 years ago

horeyes commented 6 years ago

Hello,

I would suggest adding Angular "ChangeDetectionRef" class when the user triggers the startListening method. Otherwise the values would change out of sync. It took me a while to find the issue. I found the solution thanks to this link: https://blog.paulhalliday.io/2017/06/24/nativescript-speech-recognition/ where he implement that class to detect for changes.

EddyVerbruggen commented 6 years ago

Good point, thanks!

I've added two possible solutions to the readme.