Asked to disconnect from ComponentInfo{com.google.android.tts/...
🐛 Bug Report
When I try to use flutter_tts package, it's getting disconnected when device's camera app is opened and getting connected approx after 1min.
Expected behavior
It should not have been disconnected and should be working fine
Reproduction steps
Try to use flutter_tts package and open the camera app then immediately try to use flutterTts.speak. It won't work because it got disconnected.
Configuration
Was using Realme 5 pro for testing.
Version: 4.0.x
Platform:
- [x] :robot: Android
Can anyone solve this problem?
Can anyone solve this problem?
Try in different device which have good RAM and all. I faced that because, when I was using camera, camera was occupying the resources and hence the Google Speech API was getting disconnected. After the camera is closed, it's again reconnecting after some 30sec. When I used another device where resource management was good, this issue was not seen.
If you can't use any other phone, wait for the app to get connected to API using the while loop.