hooks/lib/android/manifestWriter.js
function removeOldOptions(manifestData) {
  var cleanManifest = manifestData;
  var activities = manifestData['manifest']['application'][0]['activity'];

  activities.forEach(removeIntentFiltersFromActivity);
  cleanManifest['manifest']['application'][0]['activity'] = activities;

  return cleanManifest;
}
function removeOldOptions(manifestData) {
  var cleanManifest = manifestData;
  var activities = manifestData['manifest']['application'][0]['activity'];

  activities.forEach(removeIntentFiltersFromActivity);
  cleanManifest['manifest']['application'][0]['activity'] = activities;

  return cleanManifest;
}
function removeOldOptions ( manifestData ) { var cleanManifest = manifestData ; var activities = manifestData [ 'manifest' ] [ 'application' ] [ 0 ] [ 'activity' ] ; activities . forEach ( removeIntentFiltersFromActivity ) ; cleanManifest [ 'manifest' ] [ 'application' ] [ 0 ] [ 'activity' ] = activities ; return cleanManifest ; }
region Manifest cleanup methods 
Remove old intent-filters from the manifest file.

@param {Object} manifestData - manifest content as JSON object
@return {Object} manifest data without old intent-filters
region Manifest cleanup methods Remove old intent - filters from the manifest file .