www/chcp.js
function(options, callback) {
    if (options === undefined || options == null) {
      return;
    }

    callNativeMethod(pluginNativeMethod.CONFIGURE, options, callback);
  }
function(options, callback) {
    if (options === undefined || options == null) {
      return;
    }

    callNativeMethod(pluginNativeMethod.CONFIGURE, options, callback);
  }
function ( options , callback ) { if ( options === undefined || options == null ) { return ; } callNativeMethod ( pluginNativeMethod . CONFIGURE , options , callback ) ; }
DEPRECATED! WILL BE REMOVED EVENTUALLY!

If you want to set config-url - use chcp.fetchUpdate(callback, options).
If you want to set auto-download/auto-install preference - do it in config.xml instead of this method.

Set plugin options.
Options are send to the native side.
As soon as they are processed - callback is called.

@param {Object} options - options to set
@param {Callback(error)} callback - callback to call when options are set
DEPRECATED! WILL BE REMOVED EVENTUALLY!