muhaos / react-native-speech-to-text-ios

React Native speech recognition component for iOS 10+
MIT License
40 stars 9 forks source link

Clear AVAudioSession in teardown #12

Closed martinblampied closed 7 years ago

martinblampied commented 7 years ago

Fixes bug that stops audio playing once speech has completed.

muhaos commented 7 years ago

Ideally, it should read and store previous set category (before overriding) and then on tear down restore it. But it better like this than without audio at all :) Thanks