Darryl Pogue created CB-8183:
--------------------------------

             Summary: Browserify generates bad cordova.js with multi-platform 
build
                 Key: CB-8183
                 URL: https://issues.apache.org/jira/browse/CB-8183
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, CordovaJS, CordovaLib
            Reporter: Darryl Pogue


I was trying out the browserify flag today, and overall I love the idea. I 
found one issue when building for multiple platforms:

{code}
cordova platform add ios android
cordova build --browserify
{code}

The Android build was fine, but the iOS build was throwing up prompt boxes. My 
guess is that browserify generated a cordova.js for Android and then used the 
same file for iOS, so the Android bridge/exec code was getting run on iOS and 
failing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to