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

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

GitHub user riknoll opened a pull request:

    https://github.com/apache/cordova-docs/pull/461

    CB-8917: Improving Android lifecycle docs

    @nikhilkh @jasongin please give this a review when you get the chance. I 
rewrote the lifecycle guide to clarify a few things. Mostly, I wanted to 
emphasize what situations the lifecycle is relevant in and what the lifecycle 
actually refers to.

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

    $ git pull https://github.com/riknoll/cordova-docs lifecycle-guide-fixes

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

    https://github.com/apache/cordova-docs/pull/461.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 #461
    
----
commit c569ff6368a7aee66c15ec61f014959c8b09ef11
Author: riknoll <[email protected]>
Date:   2016-01-21T18:22:51Z

    CB-8917: Improving Android lifecycle docs

----


> Add api/way to get plugins results even when Cordova activity restarts  
> ------------------------------------------------------------------------
>
>                 Key: CB-8917
>                 URL: https://issues.apache.org/jira/browse/CB-8917
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Bnaya
>            Assignee: Richard B Knoll
>
> In android when you have a plugin that opens new activity the CordovaActivity 
> will be killed and you won't get the result from the plugin.
> The new activity will get the results but because the plugin objects are dead 
> and the webview reloaded you can get the data to the js callback.
> The most noticeable example is the camera plugin. (And maybe its the same 
> with even more platforms)
> possible solution for this is to add metadata to the device ready event with 
> incoming data from plugins.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to