[ https://issues.apache.org/jira/browse/CB-14212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles updated CB-14212: ------------------------- Attachment: (was: TIM图片20180719104111.png) > 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 > Affects Versions: cordova-android-7.0.0 > Reporter: Charles > Priority: Major > Attachments: Attempted to send a second callback.png > > > [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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org