Sithira / FlutterRadioPlayer

Flutter Radio Player, A Plugin to handle streaming audio without a hassle
BSD 3-Clause "New" or "Revised" License
137 stars 63 forks source link

PlatformException on Release #82

Open jsaravia36 opened 1 year ago

jsaravia36 commented 1 year ago

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>

JanStorm commented 1 year ago

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

kosmas1991 commented 9 months ago

Yeah, same issue here