code: function bridgeListener(channelName, data) {
    if (channels.hasOwnProperty(channelName)) {
      channels[channelName].processData(data);
    } else {
      console.error('ERROR: Channel not found:', channelName);
    }
  }
docs: /*
  This method is invoked by the native code when an event/message is received
  from the react-native app.