code: function createIntentFilter(host, scheme, pathName) {
    var intentFilter = {
      '$': {
        'android:autoVerify': 'true'
      },
      'action': [{
        '$': {
          'android:name': 'android.intent.action.VIEW'
        }
      }],
      'category': [{
        '$': {
          'android:name': 'android.intent.category.DEFAULT'
        }
      }, {
        '$': {
          'android:name': 'android.intent.category.BROWSABLE'
        }
      }],
      'data': [{
        '$': {
          'android:host': host,
          'android:scheme': scheme
        }
      }]
    };
  
    injectPathComponentIntoIntentFilter(intentFilter, pathName);
  
    return intentFilter;
  }
docs: Create JSON object that represent intent-filter for universal link.
  
  @param {String} host - host name
  @param {String} scheme - host scheme
  @param {String} pathName - host path
  @return {Object} intent-filter as a JSON object