speech_recognition
speech_recognition copied to clipboard
App crashes when running in background
I am trying to run some code in background using the workmanager plugin, but simply having speech_recognition as a dependency makes the app crash. I looks like the problem is that speech_recognition tries to access the activity in the plugin registration, which is not available on headless (background) execution.
Please see the related issue on that project: https://github.com/vrtdev/flutter_workmanager/issues/120