I have a music app that streams music and when the screen goes dark (auto lock) it stops and people complaining about it ,
is there a way to keep the music playing even when the screen is locked for IOS ?
Thanks
Josef
Link Copied
You will have to find or create a Cordova plugin that supports background services. This is outside the scope of the support we can provide here. Please note that the XDK builds standard Cordova (aka PhoneGap) apps, so a Cordova plugin that can be used to serve that purpose should work fine with the XDK, as long as it does not include hooks scripts or gradle scripts.
For more complete information about compiler optimizations, see our Optimization Notice.