It actually is dequeued: https://github.com/apache/cordova-ios/blob/ed4f28b97546a2d78afd94c40a79532f36feec56/CordovaLib/Classes/CDVCommandQueue.m#L113
However you are right, it never really needs to get enqueued in the first place for that mode. The CDVCommandQueue is still there in the wkwebview branch because initially I was trying to shoehorn in wkwebview support, without changing the overall architecture. On Mon, Dec 1, 2014 at 10:13 AM, Andrew Grieve <[email protected]> wrote: > When working on CB-8002, noticed this code: > > commandQueue.push(JSON.stringify(command)); > > if (bridgeMode === jsToNativeModes.WK_WEBVIEW_BINDING) { > window.webkit.messageHandlers.cordova.postMessage(command); > > > Wondering if maybe when in WK_WEBVIEW mode, if commands are being added to > commandQueue and never dequeued. Maybe fix is to never add them to the > queue? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
