Closed 0neCigarettes closed 1 year ago
Hi, Im also facing the same issue .Sound plays but the error found in console .Do You know the reason ?
Try add path source on pubspec.yaml :# To add assets to your application, add an assets section, like this: assets:
And clean your flutter project
How i can solve this?
my code:
FlutterRingtonePlayer.play( fromAsset: "assets/sounds/ringtone.mp3", volume: 1.0, looping: false, asAlarm: true);