ryanheise / audio_service

Flutter plugin to play audio in the background while the screen is off.
806 stars 480 forks source link

There is no pause/play button on iOS (XCode 16) #1094

Open BartoszStasiurka opened 1 month ago

BartoszStasiurka commented 1 month ago

Simulator Screenshot - iPhone 16 - 2024-10-02 at 06 50 30

Documented behaviour

MediaAction enum The actions associated with playing audio.

Actual behaviour

There is no pause button on lock screen after running example project on simulator. It looks like placeholder works but there is no icon.

Minimal reproduction project

Official example: main.dart

Reproduction steps

  1. Run example project on iOS simulator
  2. Press play button
  3. Go to Lock Screen

    Output of flutter doctor

    
    [✓] Flutter (Channel stable, 3.22.1, on macOS 14.7 23H124 darwin-arm64, locale pl-PL)
    [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    [✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    [✓] Android Studio (version 2024.1)
    [✓] VS Code (version 1.93.1)
    [✓] Connected device (5 available)
    [✓] Network resources```
    ### Devices exhibiting the bug
    iPhone 16 (simulator)
opiasdream commented 1 month ago

this is a simulator problem https://github.com/ryanheise/just_audio/issues/999