speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

App crashes when running in background

Open gustavobilert opened this issue 6 years ago • 0 comments

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

gustavobilert avatar Nov 22 '19 18:11 gustavobilert