A library for generating native app code from JavaScript config through Expo config plugins
A config plugin that maps user-provided build property options to Android gradle.properties and iOS Podfile properties, updating and cleaning them on each run.
android.hermesEnabled is true, set expo.jsEngine=hermes in the Gradle properties file; when false, set expo.jsEngine=jsc. @testandroid.kotlinVersion is provided, set expo.kotlinVersion=<value> in the Gradle properties file. @testandroid.hermesEnabled and android.kotlinVersion are both omitted, remove any existing expo.jsEngine and expo.kotlinVersion entries from the Gradle properties file. @testios.useFrameworks is static or dynamic, write the same value to the Podfile properties file under use_frameworks. @testios.flipperEnabled is true, set flipper_configuration=flipper in the Podfile properties file; when false, set it to disabled. @testios.useFrameworks and ios.flipperEnabled are both undefined, remove use_frameworks and flipper_configuration from the Podfile properties file. @test@generates
export type BuildPropertiesInput = {
android?: {
hermesEnabled?: boolean;
kotlinVersion?: string;
};
ios?: {
useFrameworks?: 'static' | 'dynamic';
flipperEnabled?: boolean;
};
};
export default function withBuildProperties(
config: Record<string, any>,
props?: BuildPropertiesInput
): Record<string, any>;Provides config plugin primitives for applying Gradle and Podfile property changes.
tessl i tessl/npm-expo--config-plugins@11.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10