INNER CODE UNIT · JavaScript

property

mCodex/react-native-sensitive-info · app.plugin.js:33

	const property = gradleProperties.find((item) => item.name === name)
	if (property) {
		property.value = value
	} else {
		gradleProperties.push({ type: 'property', name, value })
	}
}

function withAndroidNewArchitecture(config) {
	return withGradleProperties(config, (modConfig) => {
		ensureGradleProperty(modConfig.modResults, 'newArchEnabled', 'true')
		ensureGradleProperty(modConfig.modResults, 'expo.jsEngine', 'hermes')
		return modConfig
	})
}

function withIosNewArchitecture(config) {
	return withPodfileProperties(config, (modConfig) => {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…