You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I use AVSpeechUtterance to get the speech from text, when I use BreathRecognizer in my project, the original AVSpeechUtterance not work anymore. And my project is also work in background mode that when press home button to get back to home screen, there is a red square alert with my app's name in the center. I can trigger breathRecognizer event from home screen.
So I came up with an idea to set breathRecognizer to nil when I want to release it, it seems not work.
Finally I found this works: breathRecognizer?.recorder?.stop()
It can stop the red alert appear at home screen, but I can not get AVSpeechUtterance work, so hope you can add the release function.
The text was updated successfully, but these errors were encountered:
In my project I use AVSpeechUtterance to get the speech from text, when I use BreathRecognizer in my project, the original AVSpeechUtterance not work anymore. And my project is also work in background mode that when press home button to get back to home screen, there is a red square alert with my app's name in the center. I can trigger breathRecognizer event from home screen.
So I came up with an idea to set breathRecognizer to nil when I want to release it, it seems not work.
Finally I found this works: breathRecognizer?.recorder?.stop()
It can stop the red alert appear at home screen, but I can not get AVSpeechUtterance work, so hope you can add the release function.
The text was updated successfully, but these errors were encountered: