jeromexiong / audio_manager

A flutter plugin for music playback, including notification handling.
MIT License
99 stars 54 forks source link

App Store rejects ios app #93

Open nicks258 opened 2 years ago

nicks258 commented 2 years ago

Thanks for this wonderful plugin. Recently I integrate your plugin and its work fine. But when I tried to publish the app on app store my app got rejected with following reason 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. I included following keys in my info.plist as said in readme file. `NSAppTransportSecurity

NSAllowsArbitraryLoads
<key>UIBackgroundModes</key>
<array>
    <string>audio</string>
    <string>fetch</string>
</array>`

I want my app to play music while in backgroud.Could you please help me to solve this and get approval from app store. @jeromexiong (;