incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Letyński (Commented) (JIRA) <>
Subject [jira] [Commented] (CB-499) Cordova 1.6 breaks with RequireJS
Date Sun, 15 Apr 2012 08:27:26 GMT


Michał Letyński commented on CB-499:

I have the same problem for IOS, i have cordova defined as module. I get such error:

2012-04-15 12:20:57.382 fwuiPadClient[8730:13403] Error: executing module function 'setInfo'
in module 'cordova/plugin/ios/device'. Have you included the iOS version of the cordova-1.6.0.js

When i move cordova from requiredJs and define it in index.html this error disappear. However
i have problem with my custom plugins ... Im adding them via:

cordova.addConstructor(function() {

However this constructor is never invoked. When i remove required.js reference everythink
works ...  
Also everythink worked in 1.5 version. 
I didn't notice any information/warnings in update guide according to required.js and new
cordova 1.6.
> Cordova 1.6 breaks with RequireJS
> ---------------------------------
>                 Key: CB-499
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.6.0
>         Environment: Android, Cordova 1.6.0, RequireJS 1.0.7
>            Reporter: Dewang Shah
>            Assignee: Filip Maj
> Cordova 1.6 breaks compatibility with RequireJS. This uesd to work in 1.5 but now stops
all other Require modules from loading. The deviceready event fires within seconds (much sooner
that 1.5) and then all modules fail to load.
> Making Cordova the last module to load does not make any difference.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message