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 01:45:34 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14265434#comment-14265434 ] 

Steve Gill commented on CB-8183:
--------------------------------

I just tested this with the latest cordova-js linked with cordova-lib (branch cb-8158) and I can't reproduce it.

> 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