cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Polivy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8917) Add api/way to get plugins results even when Cordova activity restarts
Date Wed, 27 Jan 2016 23:19:39 GMT

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

Dan Polivy commented on CB-8917:
--------------------------------

Sounds good. Let me know if you need anything else to take it to the list. (I'm also on there,
though mostly as a lurker). I'd love to see this addressed soon :)

I was thinking about it a little more and I think it is ok for {{resume}} to be sticky. I
wonder if {{pause}} should also be sticky, then, to have the same semantics? Seems like that
would at least eliminate any potential issues making it sticky might have, because at least
it would be behaviorally consistent.

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message