You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/08 00:12:10 UTC

[jira] [Commented] (CB-10159) Contacts Plugin crashes when Cordova Activity killed in the background

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

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

GitHub user riknoll opened a pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/97

    CB-10159 android: Adding restore callback to handle Activity destruction

    Implementing the new plugin save/restore API to fix a crash that happened when the OS killed the Cordova Activity while the contact picking Activity is in the foreground. Tested on a Marshmallow device and a Lollipop emulator.

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

    $ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-10159

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

    https://github.com/apache/cordova-plugin-contacts/pull/97.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 #97
    
----
commit 535996844fce4c49bbbd22845e42620dff2f1d39
Author: riknoll <ri...@gmail.com>
Date:   2015-12-07T22:54:22Z

    CB-10159 android: Adding restore callback to handle Activity destruction

----


> Contacts Plugin crashes when Cordova Activity killed in the background
> ----------------------------------------------------------------------
>
>                 Key: CB-10159
>                 URL: https://issues.apache.org/jira/browse/CB-10159
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: android
>
> When the OS kills the Cordova Activity in the background on low memory, the plugin crashes when the Activity result is delivered. Should implement the new plugin save/restore API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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