hooks/afterPrepareHook.js
function activateUniversalLinksInAndroid(cordovaContext, pluginPreferences) {
  // inject preferenes into AndroidManifest.xml
  androidManifestWriter.writePreferences(cordovaContext, pluginPreferences);

  // generate html file with the <link> tags that you should inject on the website.
  androidWebHook.generate(cordovaContext, pluginPreferences);
}
function activateUniversalLinksInAndroid(cordovaContext, pluginPreferences) {
  // inject preferenes into AndroidManifest.xml
  androidManifestWriter.writePreferences(cordovaContext, pluginPreferences);

  // generate html file with the <link> tags that you should inject on the website.
  androidWebHook.generate(cordovaContext, pluginPreferences);
}
function activateUniversalLinksInAndroid ( cordovaContext , pluginPreferences ) { // inject preferenes into AndroidManifest.xml androidManifestWriter . writePreferences ( cordovaContext , pluginPreferences ) ; // generate html file with the <link> tags that you should inject on the website. androidWebHook . generate ( cordovaContext , pluginPreferences ) ; }
Activate Deep Links for Android application.

@param {Object} cordovaContext - cordova context object
@param {Object} pluginPreferences - plugin preferences from the config.xml file. Basically, content from <universal-links> tag.
Activate Deep Links for Android application .