cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kinard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1745) Android's exec() function no longer returns the payload of synchronous calls
Date Thu, 25 Oct 2012 20:11:12 GMT

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

Marcel Kinard commented on CB-1745:
-----------------------------------

Andrew, would it make sense to move the rc2 tag to the end of the stream so the recent fixes
(especially the ones in the last 24 hours) are included?
                
> Android's exec() function no longer returns the payload of synchronous calls
> ----------------------------------------------------------------------------
>
>                 Key: CB-1745
>                 URL: https://issues.apache.org/jira/browse/CB-1745
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>             Fix For: 2.2.0
>
>
> This isn't supported cross-platform, but did work on Android before the recent refactorings.
We should deprecate it and remove support in 6 months.
> A a new Plugin class extends the org.apache.cordova.api.Plugin class and over rides the
isSync method. The method is setup to return "true" every time. When the method is calls from
the JavaScript side like this:
>     var returnValue = cordova.exec(null, null, "PluginName", "method", [ "property" ]);
> The value of "returnValue" is "undefined".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message