You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2015/01/06 18:48:34 UTC

[jira] [Resolved] (CB-8183) Browserify generates bad cordova.js with multi-platform build

     [ https://issues.apache.org/jira/browse/CB-8183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Gill resolved CB-8183.
----------------------------
    Resolution: Cannot Reproduce

> 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
>            Assignee: Steve Gill
>
> 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