Flutter-AssetsAudioPlayer icon indicating copy to clipboard operation
Flutter-AssetsAudioPlayer copied to clipboard

entitlement com.apple.mediaremote.set-playback-state on ios error

Open kizinho opened this issue 3 years ago • 7 comments

after fetching the song it will work but with the error below [MRNowPlaying] Ignoring setPlaybackState because application does not contain entitlement com.apple.mediaremote.set-playback-state for platform

kizinho avatar Sep 25 '21 15:09 kizinho

Have you tried to insert the following into your Info.plist file?

  <key>UIBackgroundModes</key>
  <array>
    <string>audio</string>
  </array>

simon-hypecast avatar Sep 30 '21 18:09 simon-hypecast

Yes added

Used xcode 13 version

kizinho avatar Sep 30 '21 18:09 kizinho

I have the same issue

yelkamel avatar Jan 11 '22 18:01 yelkamel

Facing the exact same issue. Did anyone was able to work around this?

pedromassango avatar Jan 28 '22 11:01 pedromassango

I am also facing the this issue. How do you guy fix it.

[✓] Flutter (Channel stable, 3.0.3, on macOS 12.4 21F79 darwin-x64, locale en-GB) • Flutter version 3.0.3 at /Users/aungmyooo/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 676cefaaff (3 days ago), 2022-06-22 11:34:49 -0700 • Engine revision ffe7b86a1e • Dart version 2.17.5 • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/aungmyooo/Library/Android/sdk • Platform android-32, build-tools 31.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.3

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.68.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.42.0

[✓] Connected device (4 available) • SM N975F (mobile) • RF8M82Y3K9A • android-arm64 • Android 12 (API 31) • iPhone (mobile) • 06e02964e429eeebf29550b03ef955abe09891ef • ios • iOS 15.5 19F77 • macOS (desktop) • macos • darwin-x64 • macOS 12.4 21F79 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability • All required HTTP hosts are available

• No issues found!

alexaung avatar Jun 25 '22 17:06 alexaung

yup still having same issue any workarounds?

mem3Dealer avatar Nov 16 '22 10:11 mem3Dealer

i have the same issue

ngocbaomobile avatar Nov 13 '23 08:11 ngocbaomobile