You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/05/06 01:20:18 UTC
[jira] [Updated] (CB-6424) UIBackgroundModes is not set as "audio"
by default in order to use playAudioWhenScreenIsLocked in iOS
[ https://issues.apache.org/jira/browse/CB-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-6424:
---------------------------------
Component/s: (was: iOS)
> UIBackgroundModes is not set as "audio" by default in order to use playAudioWhenScreenIsLocked in iOS
> -----------------------------------------------------------------------------------------------------
>
> Key: CB-6424
> URL: https://issues.apache.org/jira/browse/CB-6424
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs, Plugin Media
> Affects Versions: 3.4.0
> Environment: Mobile Spec 3.4.0 Application running on iPAD3 with iOS 7.1
> Reporter: Pavankumar Joshi
> Priority: Minor
> Labels: documentation
>
> Was writing a test case to test the functionality Media.play() command with playAudioWhenScreenIsLocked option. The device used is iPAD 3 which has iOS 7.1 version.
> while testing i noticed that, Whatever the value i set to the filed playAudioWhenScreenIsLocked (true or false), the audio stopped playing in the background when the devise got locked
> I am writing the test case in MobileSpec3.4.0 test environment which is built using Cordova 3.4.0 version.
> Later i found that the MobileSpec340-info.plist does not contain the option
> UIBackgroundModes set as "audio". When i Manually set this option the feature worked correctly. I think this point has to be mentioned in the document or by default generated in info.plist.
--
This message was sent by Atlassian JIRA
(v6.2#6252)