'Flutter assets_audio_player

i have a problem with this package (https://pub.dev/packages/assets_audio_player), only and only on iOS after having lowered the volume of a song it does not raise it, on android everything works correctly, it almost seems that iOS does not see the listner.

Here my code:

if(canPlayMessaggi){
      braniAudioPlayer.setVolume(0.1);
      messaggiAudioPlayer.open(
        Playlist(
            audios: messaggiArray
        ),
        loopMode: LoopMode.none,
        playInBackground: PlayInBackground.enabled,
        autoStart: true,
      );

      messaggiAudioPlayer.playlistAudioFinished.listen((Playing playing){
        braniAudioPlayer.setVolume(1);
      });
    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source