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

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

Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/461#discussion_r50503891
  
    --- Diff: www/docs/en/dev/guide/platforms/android/lifecycle.md ---
    @@ -102,12 +178,16 @@ The possible plugin statuses in the `pendingResult` 
field include the following
     "Error
     ```
     
    ->**NOTE:** It is up to the plugin to decide what is contained in the 
`result` field and the meaning of the `pluginStatus` that is returned. 
Reference the API of the plugin you are using to see what you should expect 
those fields to contain and how to use their values
    +Please note that it is up to the plugin to decide what is contained in the
    --- End diff --
    
    Does the camera plugin have details on what these results mean and how one 
should respond?


> 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