You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Guilherme Dellagustin (JIRA)" <ji...@apache.org> on 2017/06/03 13:48:04 UTC

[jira] [Updated] (CB-12877) (Android) Audio stops playing randomly on background

     [ https://issues.apache.org/jira/browse/CB-12877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Dellagustin updated CB-12877:
---------------------------------------
    Description: 
When audio is playing on background, it does not prevent the application from eventually being closed by the OS.

When this happens, I do not get any pop up like "unfortunally ... stoped responding".

I have some native apps that play audio on the background, where I never observed this behavior.

I have <preference name="KeepRunning" value="true" /> in the config file, and the following plugins

    <plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />
    <plugin name="cordova-plugin-buildinfo" spec="~1.1.0" />
    <plugin name="cordova-universal-links-plugin" spec="~1.2.1" />
    <plugin name="cordova-plugin-browsertab" spec="~0.2.0" />
    <plugin name="cordova-sqlite-storage" spec="~2.0.3" />
    <plugin name="cordova-plugin-music-controls" spec="~1.4.1" />
    <plugin name="cordova-plugin-x-toast" spec="~2.6.0" />
    <plugin name="cordova-plugin-device" spec="~1.1.6" />

  was:
When audio is playing on background, it does not prevent the application from eventually being closed by the OS.

When this happens, I do not get any pop up like "unfortunally ... stoped responding".

I have some native apps that play audio on the background, where I never observed this behavior.


> (Android) Audio stops playing randomly on background
> ----------------------------------------------------
>
>                 Key: CB-12877
>                 URL: https://issues.apache.org/jira/browse/CB-12877
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>    Affects Versions: 6.5.0
>         Environment: android 6.0, tested on Motorola Moto X 2d gen http://www.gsmarena.com/motorola_moto_x_(2nd_gen)-6649.php
>            Reporter: Guilherme Dellagustin
>            Priority: Minor
>
> When audio is playing on background, it does not prevent the application from eventually being closed by the OS.
> When this happens, I do not get any pop up like "unfortunally ... stoped responding".
> I have some native apps that play audio on the background, where I never observed this behavior.
> I have <preference name="KeepRunning" value="true" /> in the config file, and the following plugins
>     <plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />
>     <plugin name="cordova-plugin-buildinfo" spec="~1.1.0" />
>     <plugin name="cordova-universal-links-plugin" spec="~1.2.1" />
>     <plugin name="cordova-plugin-browsertab" spec="~0.2.0" />
>     <plugin name="cordova-sqlite-storage" spec="~2.0.3" />
>     <plugin name="cordova-plugin-music-controls" spec="~1.4.1" />
>     <plugin name="cordova-plugin-x-toast" spec="~2.6.0" />
>     <plugin name="cordova-plugin-device" spec="~1.1.6" />



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