Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

Hi,
I am a paying subscriber to appery.io and I am encountering a problem with my app on IOS. It's a guided meditation app, which basically plays mp3 guided meditations using appery.io audio control. The HUGE problem is that, on IOS, the mp3 files stop playing whenever the iPhone / iPad goes into standby. It is highly frustrating for my users, since they basically have to switch their standby settings to "never" in order to be able to listen to the whole file. Is there a known fix for this?

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

In case it's important, I compiled the ipa using xcode and not appery.io's own compiler.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

I found the description of a fix here, but it is too technical for me:

http://stackoverflow.com/a/12414719/8...

I also found this Cordova plugin:

https://github.com/EddyVerbruggen/cor...

If you think the plugin might fix the problem, could you please explain me how to add it and use it in my project?

Thanks.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

Thanks Evgene,

I will look into it and try, but I would like to be sure that there is not a simpler solution that I can use within appery.io's own features! :-( I am not an actual programmer, which is why I'm using appery in the first place.

Being able to keep on playing an mp3 music file when the phone is locked sounds like a very basic feature, and it does work fine on the android version.

Is this a bug that you are aware of, and are you planning to fix it?
Is there nothing I can do to fix it without using a plugin or changing the code itself?

Basically, it means that anyone planning to create for instance a rock band app with a music player using appery will have problems (unless they use soundcloud or other external players).

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

Hello Pierre,

Also, you can use any JS player, e.g. http://jplayer.org/

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Audio control stops playing mp3 files when iPad / iPhone goes into standby mode!

OK.

I was stupid.

I was a simple matter of setting the permissions (capabilities) properly in xcode. It seems that this was enough to solve the issue. My apologies!

Return to “Issues”