ryanheise / audio_service

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

iOS control center issue #724

Open shwetauser opened 3 years ago

shwetauser commented 3 years ago

Which API doesn't behave as documented, and how does it misbehave? Name here the specific methods or fields that are not behaving as documented, and explain clearly what is happening.

Minimal reproduction project Provide a link here using one of two options:

  1. Fork this repository and modify the example to reproduce the bug, then provide a link here.
  2. 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

If applicable, copy & paste error message here, within the triple quotes to preserve formatting.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Runtime Environment (please complete the following information if relevant):

Flutter SDK version

insert output of "flutter doctor" here

Additional context Add any other context about the problem here.

shwetauser commented 3 years ago

I am using using your plugin audio service verison audio_service-0.16.2+1. Its working perfectly in android devices with controls with not working in ios devices when we close screen there is not playing option appears at notifications.But songs is playing background fine.But options are not appear in notification in ios devices.I also want to change colors of notification background color in ios device.Please share me reference or help to resolve bug. Steps to reproduce the behavior:

  1. Go to Podcast
  2. Click to play and minimize screen
  3. Lock screen have NO notification.
  4. Even not showing on notification window as well There is no error message appears • Device: Iphone 8 or above • OS: IOS 9 or above I am using flutter sdk version : Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-GB)
ryanheise commented 3 years ago

Can you try the preview of the next release as mentioned in the readme?

shwetauser commented 3 years ago

Can you try the preview of the next release as mentioned in the readme?

Yes I did. But my SDK version is not supporting that. Any solution to that ?

nt4f04uNd commented 3 years ago

Can you elaborate on that?

ryanheise commented 3 years ago

I understand that to mean that it's an app that has been pinned to old versions of plugins running on an old version of the flutter SDK. E.g. for a long while firebase plugins didn't work properly on the latest SDK so people who used then had to pin to the old versions. Now that new working versions are available, people may still consider it too much effort to upgrade all their dependencies with accumulated breaking API changes. Maybe there is a similar issue more recently with null safety but in this case there is probably no reason why you couldn't upgrade to the latest SDK and run in mixed mode with a combination of null safe and non-null safe plugins.

Anyway, I have no interest in supporting old sdks, you will have to upgrade sooner or later if you want to take advantage of the latest bug fixes and features.

shwetauser commented 3 years ago

I understand that to mean that it's an app that has been pinned to old versions of plugins running on an old version of the flutter SDK. E.g. for a long while firebase plugins didn't work properly on the latest SDK so people who used then had to pin to the old versions. Now that new working versions are available, people may still consider it too much effort to upgrade all their dependencies with accumulated breaking API changes. Maybe there is a similar issue more recently with null safety but in this case there is probably no reason why you couldn't upgrade to the latest SDK and run in mixed mode with a combination of null safe and non-null safe plugins.

Anyway, I have no interest in supporting old sdks, you will have to upgrade sooner or later if you want to take advantage of the latest bug fixes and features.

Hi @ryanheise ,

I actually upgraded my flutter and the plugin too. But the issue is the same. I can see the player on the notification screen but the play and pause button is still the same. Its not clickable. Please let us know how can I resolve that.

Thanks.

ryanheise commented 3 years ago

Can I get you to edit your original post according to the instructions?

shwetauser commented 3 years ago

iOS.txt

@ryanheise Attached.

ryanheise commented 3 years ago

Can you edit the original report as per the instructions?

shwetauser commented 3 years ago

@ryanheise Again ? You have already replied to the issue I raised and mentioned above again.

ryanheise commented 3 years ago

Well you still haven't edited your original bug report. I can scroll up to the top of this page and see that it still has zero edits and still all of the sections have just been left unmodified. In fact my instructions are still left in your report, it's just that you didn't follow what they asked you to do.