You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2017/07/14 20:32:00 UTC

[jira] [Resolved] (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 ]

Filip Maj resolved CB-6424.
---------------------------
    Resolution: Won't Fix

It's been a while, cautiously closing this.

> 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: cordova-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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org