You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Pavankumar Joshi (JIRA)" <ji...@apache.org> on 2014/04/09 02:13:14 UTC

[jira] [Created] (CB-6424) UIBackgroundModes is not set as "audio" by default in order to use playAudioWhenScreenIsLocked in iOS

Pavankumar Joshi created CB-6424:
------------------------------------

             Summary: 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: iOS, 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


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)