Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async buildAndroidPluginsViews(
plugins: PackagePath[],
mustacheView: any
): Promise {
mustacheView.plugins = await generatePluginsMustacheViews(
plugins,
'android'
)
const reactNativeCodePushPlugin = _.find(
plugins,
p => p.basePath === 'react-native-code-push'
)
if (reactNativeCodePushPlugin) {
mustacheView.isCodePushPluginIncluded = true
}
}
}
public async buildiOSPluginsViews(
plugins: PackagePath[],
mustacheView: any
): Promise {
mustacheView.plugins = await generatePluginsMustacheViews(plugins, 'ios')
}