cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12422) Media does not play when the App is in the background on iOS
Date Tue, 14 Feb 2017 17:20:41 GMT

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

ASF GitHub Bot commented on CB-12422:
-------------------------------------

GitHub user corinnekrych opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/128

    CB-12422: (iOS) Fix readme issue on background needed plist modification

    <!--
    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    iOS
    
    ### What does this PR do?
    Add documentation in README iOS quirks section to explain that play audio when the screen
is locked need background mode.
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [ x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA
database
    - [x ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/corinnekrych/cordova-plugin-media CB-12422

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #128
    
----

----


> Media does not play when the App is in the background on iOS
> ------------------------------------------------------------
>
>                 Key: CB-12422
>                 URL: https://issues.apache.org/jira/browse/CB-12422
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: 3.5.0
>         Environment: iOS 8+
>            Reporter: Remi Boardman
>            Assignee: jcesarmobile
>            Priority: Minor
>              Labels: background, background-audio, easyfix, ios, media
>
> While trying to trigger a sound to play in the App (running in the background or screen
locked) via a button press on an external bluetooth device, I receive the error:
> _"message":"","code":4_
> I've also tried creating a new blank app and wrapping the play method in a timeout so
that it triggers a short while after I lock the screen or minimise the App. I do not hear
a sound until I reopen the App and I don't get any errors in console this way.
> I have set the _playAudioWhenScreenIsLocked_ option to true, despite this being true
by default.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message