New multiple results problem this time. In between startListening and stopListening multiple results will get returned from Voice.onSpeechResults and therefore multiple calls to Dialogflow.
Either you are making an assumption about when the onSpeechResults event is supposed to return on iOS or react-native-voice is returning partial results in the onSpeechResults event.
New multiple results problem this time. In between startListening and stopListening multiple results will get returned from
Voice.onSpeechResults
and therefore multiple calls to Dialogflow.Either you are making an assumption about when the onSpeechResults event is supposed to return on iOS or react-native-voice is returning partial results in the onSpeechResults event.
Another ignorant attempted fix: