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

Does not work with iOS 11 builds #9

Open
mvbattista opened this issue Oct 7, 2017 · 8 comments
Open

Does not work with iOS 11 builds #9

mvbattista opened this issue Oct 7, 2017 · 8 comments

Comments

@mvbattista
Copy link

Hi, I was referred to this repo from this ticket. I'm trying to implement this on my app. It works for my iOS 10.3 build, but not iOS 11.

@fjlogrono
Copy link

I have the same problem, did you solved it, mvbattista?
ty

@mvbattista
Copy link
Author

@fjlogrono We found an issue with our audio stream. When we corrected that, the original ticket wasn't valid for us since the previous plugin worked in the background, so no change was needed in our code.

@fjlogrono
Copy link

fjlogrono commented Nov 2, 2017 via email

@dhavaln
Copy link

dhavaln commented Nov 24, 2017

@fjlogrono we have the same issue reported by some of the app users, where it works for few seconds and then suddenly stops. However I have tested on IOS 11 on iPhone 6 and iPhone 6S and it works most of the times.

@asos-hutber
Copy link

I've also got the same problem :'(
I guess nobody found a solution

@EddyVerbruggen
Copy link
Owner

I've just tested this scenario with iOS 9 and 11 and the behave exactly the same:

Intended scenario

  • Play a song
  • Move the app to the background
  • The song keeps on playing

Not supported scenario

  • Move the app to the background
  • Play a song
  • No sound

If we want to support the second scenario I think we need to start an audio session when the app moves to the background. At least, that's what Apple suggests:

"You must declare your app plays audible content while in the background, assign an appropriate category to your audio session (AVAudioSession), and make sure your app has an active audio session before entering the background."

@ghost
Copy link

ghost commented Dec 12, 2017

I can not make it work by doing what Apple suggests. Has someone solved it?

@alfonso8969
Copy link

I've also tried what Apple suggests and many other things I've found in different forums but there's no way it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants