cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl Pogue (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8183) Browserify generates bad cordova.js with multi-platform build
Date Wed, 17 Dec 2014 23:58:13 GMT
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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message