scripts/lib/iosWKWebViewEngineSupport.js
function init(ctx) {
  context = ctx;
  projectRoot = ctx.opts.projectRoot;
  projectName = getProjectName(ctx, projectRoot);
  iosPlatformPath = path.join(projectRoot, 'platforms', 'ios');

  var wkWebViewPluginPath = path.join(projectRoot, 'plugins', WKWEBVIEW_PLUGIN_NAME);
  isWkWebViewEngineUsed = isDirectoryExists(wkWebViewPluginPath) ? 1 : 0;
}
function init(ctx) {
  context = ctx;
  projectRoot = ctx.opts.projectRoot;
  projectName = getProjectName(ctx, projectRoot);
  iosPlatformPath = path.join(projectRoot, 'platforms', 'ios');

  var wkWebViewPluginPath = path.join(projectRoot, 'plugins', WKWEBVIEW_PLUGIN_NAME);
  isWkWebViewEngineUsed = isDirectoryExists(wkWebViewPluginPath) ? 1 : 0;
}
function init ( ctx ) { context = ctx ; projectRoot = ctx . opts . projectRoot ; projectName = getProjectName ( ctx , projectRoot ) ; iosPlatformPath = path . join ( projectRoot , 'platforms' , 'ios' ) ; var wkWebViewPluginPath = path . join ( projectRoot , 'plugins' , WKWEBVIEW_PLUGIN_NAME ) ; isWkWebViewEngineUsed = isDirectoryExists ( wkWebViewPluginPath ) ? 1 : 0 ; }
region General private methods 
Initialize before execution.

@param {Object} ctx - cordova context instance
region General private methods Initialize before execution .