voice icon indicating copy to clipboard operation
voice copied to clipboard

onSpeechEnd never call on iOS

Open amitkumarcoding opened this issue 1 year ago • 2 comments
trafficstars

Voice.onSpeechEnd = onSpeechEnd;

const onSpeechEnd = (e) => {

}; onSpeechEnd did return anything on iOS (have tested on real device too). Working fine in Android

amitkumarcoding avatar Sep 16 '24 10:09 amitkumarcoding

I saw same issue at iOS 18.0.0 and 18.0.1.

I think this issue from iOS 18+. Because it worked at iOS 17, 16 .

tomofusa avatar Oct 08 '24 11:10 tomofusa

It's a bug in iOS 18, final results never get called. This is a workaround I did that will need to be done here too: https://github.com/jamsch/expo-speech-recognition/commit/6e287e04f4767f8957ae960c345f5fd24a648df6

jamsch avatar Oct 10 '24 05:10 jamsch