thali/NextGeneration/thaliMobileNativeWrapper.js
function (methodName, callback) {
    Mobile(methodName).registerToNative(callback);
    Mobile('didRegisterToNative').callNative(methodName, function () {
      logger.debug('Method %s registered to native', methodName);
    });
  }
function (methodName, callback) {
    Mobile(methodName).registerToNative(callback);
    Mobile('didRegisterToNative').callNative(methodName, function () {
      logger.debug('Method %s registered to native', methodName);
    });
  }
function ( methodName , callback ) { Mobile ( methodName ) . registerToNative ( callback ) ; Mobile ( 'didRegisterToNative' ) . callNative ( methodName , function ( ) { logger . debug ( 'Method %s registered to native' , methodName ) ; } ) ; }
Function to register a method to the native side and inform that the registration was done.
Function to register a method to the native side and inform that the registration was done .