[ 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/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 (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/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 -- 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