W/FlutterJNI(24639): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: audio_manager. Response ID: 0
I found the problem. It was happening because I had used a Workmanager in main.dart and I had set the existingWorkPolicy: ExistingWorkPolicy.replace property in its registerPeriodicTask method.
When I call
seekTo
method, this error occurs: