[jbosstools-issues] [JBoss JIRA] (JBIDE-18419) CordovaSim can't handle cordova-3.6.3
Ilya Buziuk (JIRA)
issues at jboss.org
Tue Sep 23 07:31:04 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-18419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005235#comment-13005235 ]
Ilya Buziuk commented on JBIDE-18419:
-------------------------------------
There are very few changes if comparing 3.5.0 and 3.6.3 versions. I do believe that the following changes cause the breakage:
{code}
- // Tell the native code that a page change has occurred.
- exec(null, null, 'PluginManager', 'startup', []);
- // Tell the JS that the native side is ready.
- channel.onNativeReady.fire();
+ // Get the shared secret needed to use the bridge.
+ exec.init();
{code}
> CordovaSim can't handle cordova-3.6.3
> -------------------------------------
>
> Key: JBIDE-18419
> URL: https://issues.jboss.org/browse/JBIDE-18419
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Priority: Blocker
> Fix For: 4.2.0.CR2
>
>
> No errors when running against *cordova-3.5.0*. However with *cordova-3.6.3* getting the error with the following stack trace:
> {code}
> 2014-09-23 13:40:23.731:INFO:oejs.Server:jetty-8.1.14.v20131031
> 2014-09-23 13:40:23.781:INFO:oejs.AbstractConnector:Started SelectChannelConnector at 0.0.0.0:54262
> !JavaScript ERROR: TypeError: 'undefined' is not a function (evaluating 'exec.init()') on line 1483 for http://localhost:54243/cordova.js
> !JavaScript LOG: deviceready has not fired after 5 seconds.
> !JavaScript LOG: Channel not fired: onNativeReady
> !JavaScript LOG: Channel not fired: onPluginsReady
> !JavaScript LOG: Channel not fired: onCordovaReady
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list