You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Ilya Buziuk (JIRA)" <ji...@apache.org> on 2014/09/23 16:01:33 UTC
[jira] [Updated] (RIPPLE-69) Ripple can't handle cordova-3.6.3
[ https://issues.apache.org/jira/browse/RIPPLE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Buziuk updated RIPPLE-69:
------------------------------
Description:
No errors when running against cordova-3.5.0. However with cordova-3.6.3 getting the following error:
*TypeError: 'undefined' is not a function (evaluating 'exec.init()') on line 1483*
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}
So, I do believe we must make relevant changes on the ripple side
was:
No errors when running against cordova-3.5.0. However with cordova-3.6.3 getting the following error:
*TypeError: 'undefined' is not a function (evaluating 'exec.init()') on line 1483*
{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}
> Ripple can't handle cordova-3.6.3
> ---------------------------------
>
> Key: RIPPLE-69
> URL: https://issues.apache.org/jira/browse/RIPPLE-69
> Project: Apache Ripple
> Issue Type: Bug
> Environment: windows
> Reporter: Ilya Buziuk
> Priority: Critical
>
> No errors when running against cordova-3.5.0. However with cordova-3.6.3 getting the following error:
> *TypeError: 'undefined' is not a function (evaluating 'exec.init()') on line 1483*
> 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}
> So, I do believe we must make relevant changes on the ripple side
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)