bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.98k stars 843 forks source link

In the latest audioplayers: ^6.1.0 audio not playing in background IOS #1840

Open Nagaraj-kumaravel opened 1 week ago

Nagaraj-kumaravel commented 1 week ago

Checklist

Current bug behaviour

In the latest audioplayers: ^6.1.0 audio not playing in background. Even i added background mode as audio in info.plist and enabled audio in signincapabilities

UIBackgroundModes
<array>
    <string>audio</string>
    <string>fetch</string>
</array>

Expected behaviour

It should play the sound even in the background mode

Steps to reproduce

  1. Execute flutter run on the code sample
  2. ...
  3. ...

Code sample

Code sample ```dart void main() { } ```

Affected platforms

iOS

Platform details

No response

AudioPlayers Version

6.1.0

Build mode

debug

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs ``` my full logs or a link to a gist ``` Flutter doctor: ``` Output of: flutter doctor -v ```

Related issues / more information

No response

Working on PR

no way