cordovablackberry-webworksripple

Ripple conflict blackberry.app plugin


I'm using BlackBerry WebWorks 2.2.0.15 on Ubuntu and the project shows before adding the app plugin.

I cannot preview home screen when adding the plugin blackberry.app, but it works on my device when published!

I did some research I found this old one.


Solution

  • This is a simple fix to continue the test using ripple by adding JS errors:

    function getReadOnlyFields() {
    try {
    var success = function (data, response) {
    readOnlyValues = data;
    }, 
    fail = function (data, response) {
    throw data;
    };
    if (!readOnlyValues) { 
    exec(success, fail, ID, "getReadOnlyFields", null);
    }
    }
    catch(err) {
     console.log(err);
    }
    }