Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MusicPlayerNotification not showing on iOS Lock Screen #1254

Closed
Hafiz-Abdul-Rehman opened this issue May 31, 2024 · 3 comments
Closed

MusicPlayerNotification not showing on iOS Lock Screen #1254

Hafiz-Abdul-Rehman opened this issue May 31, 2024 · 3 comments
Assignees
Labels
1 backlog bug Something isn't working

Comments

@Hafiz-Abdul-Rehman
Copy link

Hafiz-Abdul-Rehman commented May 31, 2024

Which API doesn't behave as documented, and how does it misbehave?
I am using the just_audio and the just_audio_background package to manage the music player functionality and to handle the background notification for music functionality also. They are working perfectly on android but are not working on iOS. It is playing the music in background but notification is not showing on Lock Screen in iOS. I have also added some permissions in Info.plist file and other permissions necessary for the package.

Minimal reproduction project
Provide a link here using one of two options:
If the unmodified official example already reproduces the bug, just write "The example".

To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Error messages

 Not any messages are being printed!! Just the notification is not showing!

Expected behavior
My application should show a notification of the media playing in the background. It is working on android perfectly but for iOS, it's just not working.

Screenshots
Not applicable

Desktop (please complete the following information):

  • OS: [none]
  • Browser [none]

Smartphone (please complete the following information):

  • Device: [e.g. iPhoneX]
  • OS: [e.g. iOS10.1]

Flutter SDK version

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.22621.3593], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[✓] Android Studio (version 2023.1)
[!] Android Studio (version 2023.3)
    ✗ Unable to determine bundled Java version.
[✓] VS Code (version 1.89.1)
[✓] Connected device (4 available)
[✓] Network resources

Additional context
No any other context about the problem

@ryanheise
Copy link
Owner

Minimal reproduction project
Provide a link here using one of two options:
If the unmodified official example already reproduces the bug, just write "The example".

To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Your original issue was automatically closed because you did not follow the instructions for these two sections. You are still not following the instructions.

@ryanheise
Copy link
Owner

Also, you were told on the last issue the following:

it is even possible to trick the bot by including only the section headings, and then not providing the requested information under each heading. This is frowned upon, and the issue will be closed manually.

Thus, I am closing this issue manually as promised.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants