ripple-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Colton <jscol...@gmail.com>
Subject Ripple is trying to exec native ios plugins! Why?
Date Thu, 13 Nov 2014 17:20:46 GMT
Hi,

I am running my PhoneGap 3.6.3 project inside of Ripple 0.9.24.

The cordova.s parses my cordova_plugins.js, runs each plugin's .js which
then tries to call the Objective C related counterpart which obviously does
not exist since the code is running in Ripple in Chrome.

So I see lots of error message in the console, eg:

missing exec:Console.logLevel
TypeError: Cannot read property 'logLevel' of undefined
    at ripple.define.module.exports.exec (
http://localhost:4400/ripple/assets/ripple.js:40:28665)
    at Object.logger.logLevel (
http://localhost:4400/plugins/org.apache.cordova.console/www/logger.js:233:9
)
    at logWithArgs (
http://localhost:4400/plugins/org.apache.cordova.console/www/logger.js:195:21
)
    at Object.logger.error (
http://localhost:4400/plugins/org.apache.cordova.console/www/logger.js:166:36
)
    at Object.console.error (
http://localhost:4400/plugins/org.apache.cordova.console/www/console-via-logger.js:76:18
)
    at Object.error (
http://localhost:4400/plugins/org.apache.cordova.console/www/console-via-logger.js:174:23
)
    at window.onerror (http://localhost:4400/js/baseUtils.js:258:11)

So, is this expected behaviour or is there a way to tell Ripple NOT to run
native plugins?

Cheers
Jeremy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message