FlutterRadioPlayer icon indicating copy to clipboard operation
FlutterRadioPlayer copied to clipboard

PlatformException on Release

Open jsaravia36 opened this issue 2 years ago • 2 comments

Help, please. My app works perfectly in debug mode. But when I try to build it for release I get these Platform Errors:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(FRP_010, Failed to call set_sources, null, null) E/flutter (11615): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652) E/flutter (11615): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310) E/flutter (11615): <asynchronous suspension> E/flutter (11615): #2 FlutterRadioPlayer.addMediaSources (package:flutter_radio_player/flutter_radio_player.dart:60) E/flutter (11615): <asynchronous suspension> E/flutter (11615): E/flutter (11615): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(FRP_008, Failed to call prev_source, null, null) E/flutter (11615): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652) E/flutter (11615): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310) E/flutter (11615): <asynchronous suspension> E/flutter (11615): #2 FlutterRadioPlayer.seekToMediaSource (package:flutter_radio_player/flutter_radio_player.dart:91) E/flutter (11615): <asynchronous suspension>

jsaravia36 avatar May 26 '23 02:05 jsaravia36

I can reproduce this issue with the current example app provided in this repository. Just by doing flutter run --release

JanStorm avatar Aug 22 '23 08:08 JanStorm

Yeah, same issue here

kosmas1991 avatar Dec 09 '23 10:12 kosmas1991