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

Moderator: Support

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

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

Post by Image3D »

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

Post by Image3D »

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 1784 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 1784 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 1784 times
Serhii Kulibaba
Posts: 149
Joined: Tue Aug 27, 2013 1:47 pm

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

Post by Serhii Kulibaba »

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

Post by Image3D »

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

Post by Image3D »

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

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

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

Post by Serhii Kulibaba »

Glad to hear things are sorted out now!

Post Reply