sendAction(type, action, data, options) {
    let jsonString = JSON.stringify({type, name: action, data, options});
    if (!this.unmount && this.webviewBridge) {
      this.webviewBridge.postMessage(jsonString);
    }
  }
@param {String} type
@param {String} action
@param {any} data
@param [options]
@private