Replies: 4 comments 7 replies
-
I have changed how I open the session which cleared the log. Future<void> _initAudioPlayer() async {
try {
await _audioPlayer!
.openAudioSession(focus: AudioFocus.requestFocusAndStopOthers);
setState(() {
_audioPlayerReady = true;
});
} catch (e) {}
} and I have read that assert doesn't work in production which might be the cause of the problem? |
Beta Was this translation helpful? Give feedback.
-
Android or iOS or Web ? Also I need the logs before the crash. |
Beta Was this translation helpful? Give feedback.
-
Also you can try to run your app in release mode without having to upload to TestFlight : flutter run ios --release |
Beta Was this translation helpful? Give feedback.
-
flutter run --release |
Beta Was this translation helpful? Give feedback.
-
I tried opening a session while on a call and it crashed the app.
That's how I opened a session
And these are the logs. apparently, try and catch didn't catch that throw?
Beta Was this translation helpful? Give feedback.
All reactions