[
https://issues.apache.org/jira/browse/CB-14212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles updated CB-14212:
-------------------------
Description:
[callbackContext.sendPluginResult(cr);|https://github.com/apache/cordova-android/blob/b6e4598e7c35dba433a5309c3c633485585dc692/framework/src/org/apache/cordova/PluginManager.java#L140],If
the exe() method returns false, but the callbackContext.success() or
callbackContext.error() method is executed before this, the js side will not
receive the "invalid action" message.So, I think we should put "invalid action"
at the top of the queue (was:
[callbackContext.sendPluginResult(cr);|https://github.com/react-native-community/react-native-camera],If
the exe() method returns false, but the callbackContext.success() or
callbackContext.error() method is executed before this, the js side will not
receive the "invalid action" message.So, I think we should put "invalid action"
at the top of the queue)
> Invalid action should be added to the header of the queue
> ---------------------------------------------------------
>
> Key: CB-14212
> URL: https://issues.apache.org/jira/browse/CB-14212
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-android
> Reporter: Charles
> Priority: Major
>
> [callbackContext.sendPluginResult(cr);|https://github.com/apache/cordova-android/blob/b6e4598e7c35dba433a5309c3c633485585dc692/framework/src/org/apache/cordova/PluginManager.java#L140],If
> the exe() method returns false, but the callbackContext.success() or
> callbackContext.error() method is executed before this, the js side will not
> receive the "invalid action" message.So, I think we should put "invalid
> action" at the top of the queue
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]