Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
4.1.1
-
None
-
OS X 10.11
Cordova CLI 6.1.1
Cordova iOS 4.1.1
cordova-plugin-wkwebview-engine 1.0.3
Description
The code below for replace the exec bridge is not compatible with browserify
// unregister the old bridge cordova.define.remove('cordova/exec'); // redefine bridge to our new bridge cordova.define("cordova/exec", function(require, exports, module) { module.exports = execProxy; });
After using browserify flag, all scripts for www will be packed into cordova.js as single file. At the same time, the `cordova.define` become undefined.
TypeError: undefined is not an object (evaluating 'cordova.define.remove')