Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
None
-
None
Description
Reported by dpolivy on the list.
"When I run 'cordova prepare -browserify', all I see is the original plugin JS files (in /plugins/<name>/www/) end up with the following appended to them (note, each time you prepare, it continues to append another iteration):
window.navigator = window.navigator || {};
window.navigator.camera = window.navigator.camera || {};
require('cordova/builder').assignOrWrapInDeprecateGetter(window.navigator, 'camera', module.exports);