Image3D
Posts: 10
Joined: Sat Feb 27, 2021 8:09 pm

Wrong Binary .ipa build is setting support for audio in the UIBackgroundModes key

iOS .ipa Build is wrongly setting the support for audio in the UIBackgroundModes key in your Info.plist, even without having this option being selected.

Apple has rejected our application :

From Apple:
" Guideline 2.5.4 - Performance - Software Requirements

Your app declares support for audio in the UIBackgroundModes key in your Info.plist but did not include features that require persistent audio.

Next Steps

The audio key is intended for use by apps that provide audible content to the user while in the background, such as music player or streaming audio apps. Please revise your app to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key."

Please advise.

Regards Joni

Image3D
Posts: 10
Joined: Sat Feb 27, 2021 8:09 pm

Re: Wrong Binary .ipa build is setting support for audio in the UIBackgroundModes key

I checked the .ipa info.plist file and the UIBackgroundModes Keys are set, even I have not set it in the project( please see attached images).

Building .ipa in Xcode 12.2 makes the window.open(url, "_system") not to work properly ( please seee my other post ).

Please, we need a solution or a work around to solve the problem, since client is waiting for the App Release.

Regards Joni.

Attachments
Screen Shot 2021-03-15 at 08.49.40.png
Screen Shot 2021-03-15 at 08.49.40.png (25.5 KiB) Viewed 4483 times
Screen Shot 2021-03-15 at 08.48.50.png
Screen Shot 2021-03-15 at 08.48.50.png (30.37 KiB) Viewed 4483 times
Screen Shot 2021-03-15 at 08.47.08.png
Screen Shot 2021-03-15 at 08.47.08.png (14.06 KiB) Viewed 4483 times
Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: Wrong Binary .ipa build is setting support for audio in the UIBackgroundModes key

Hello,

Do you have any custom Cordova plugin? They might set that key automatically. Please disable all of them and build the app again. Is the issue still there?

Image3D
Posts: 10
Joined: Sat Feb 27, 2021 8:09 pm

Re: Wrong Binary .ipa build is setting support for audio in the UIBackgroundModes key

Thanks for your fast repy. I will check the cordova plugins and let you know...

Image3D
Posts: 10
Joined: Sat Feb 27, 2021 8:09 pm

Re: Wrong Binary .ipa build is setting support for audio in the UIBackgroundModes key

Found that the UIBackgroundModes Keys are being set by the Cordova StreamingMedia Plugin, which plays video on iOS and Android in Native mode.

I will be checking with Apple how to proceed.

Please consider this issue solved.

Thanks for your tip.

Best Regards Joni

Return to “Issues”