cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6424) UIBackgroundModes is not set as "audio" by default in order to use playAudioWhenScreenIsLocked in iOS
Date Sat, 12 Apr 2014 00:04:16 GMT

    [ https://issues.apache.org/jira/browse/CB-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967267#comment-13967267
] 

Shazron Abdullah commented on CB-6424:
--------------------------------------

Info.plist --> add the proper config values in plugin.xml
Adding Docs as a component as an alternative.

> 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, 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
>              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)

Mime
View raw message