flutter_sound
flutter_sound copied to clipboard
[BUG]: crash on release mode
Flutter Sound Version :
-
FULL
-
Important: Result of the command :
flutter pub deps | grep flutter_sound
-- flutter_sound 7.7.0+1 | |-- flutter... | |-- flutter_sound_platform_interface 7.7.0+1 | | |-- flutter... | | |-- meta... | | '-- plugin_platform_interface... | |-- flutter_sound_web 7.7.0+1 | | |-- flutter... | | |-- flutter_sound_platform_interface... | | |-- flutter_web_plugins... | | |-- js 0.6.2 | | '-- meta...
Severity
Crash in release build, works fine in debug mode
Platforms you faced the error
Android, not yet tested in ios
Describe the bug flutter build apk for release mode, crash when go to screen that used this plugin
To Reproduce flutter build apk for release mode, crash when go to screen that used this plugin
Logs!!!!
cant get the log as its only crash in release mode
works if build with this command flutter build apk --no-shrink
I'm having the same problem but I'm using an iPhone 12 mini with iOS v14.4 and using the full version of flutter_sound 8.0.0+6. I'm running Flutter v2.0.1 with Dart v2.12.0. When I open up the view that uses the recorder it automatically pops without any log message, sometimes the app crashes after the view pops. Here's what it looks like when I navigate to the recorder view:
https://giphy.com/gifs/nlt5aL50upbORF9v8q/html5
In my experience, crashes only happen when recording stops. I got the following error when I debugging the app in the release mode.
same error occurred. Async TASK Error in android
Are we aware of a workaround for this problem? We are about to release our app soon and one of the critical functionalities is recording audio.
Found a solution here !
https://github.com/tanersener/flutter-ffmpeg/issues/237
If flutter_ffmpeg release builds on Android fail with the following exception, make sure that mavenCentral() is defined as a repository in your build.gradle and it is listed before jcenter().
Found a solution here !
If flutter_ffmpeg release builds on Android fail with the following exception, make sure that mavenCentral() is defined as a repository in your build.gradle and it is listed before jcenter().
Thanks. Can confirm this solved the issue for me.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.