You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/11/27 00:09:00 UTC

[jira] [Closed] (CB-13551) cordova-android app restarts when "Don't keep activities" developer option is enabled on the Android device.

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

jcesarmobile closed CB-13551.
-----------------------------
    Resolution: Duplicate

Closing as a duplicate of CB-1513, and CB-1513 is closed as won't fix. Read the comments there to understand why and see some proposed alternatives, maybe one of them fits you.

> cordova-android app restarts when "Don't keep activities" developer option is enabled on the Android device.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-13551
>                 URL: https://issues.apache.org/jira/browse/CB-13551
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: 7.0.0
>         Environment: Android
>            Reporter: Srutha Keerthi
>            Priority: Minor
>             Fix For: 7.0.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Cordova - android application that uses the camera plugin restarts after taking a picture and trying to return to the calling Activity. This happens when there are a lot of other heavy resource usage apps (like downloading videos and running multiple games). 
> Repro steps for developers are :
> 1. In the Developer Options settings of the Android device, enable the option "Don't keep Activities". This is to recreate a heavy resource usage on the OS (that is in reality caused by heavy resource usage by multiple apps)
> 2. Create a cordova app and add cordova-plugin-camera
> 3. Add a button and code to getPicture on button click.
> 4. Build and deploy the app onto the device.
> 5. Open camera by clicking on the button.
> 6. Take picture and click on the tick mark to accept the taken picture.
> 7. App restarts and does not execute the callback of the camera activity.



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