code: function nativeCallback(msg) {
    // parse call arguments
    var resultObj = processMessageFromNative(msg);
    if (resultObj.action == null) {
      console.log('Action is not provided, skipping');
      return;
    }
  
    broadcastEventFromNative(resultObj);
  }
docs: Method is called when native side sends us different events.
  Those events can be about update download/installation process.
  
  @param {String} msg - JSON formatted string with call arguments