Skip to content

Commit e5e2773

Browse files
committed
feat: set default names
1 parent 7ca3351 commit e5e2773

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/react-native-brownfield/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
export interface BrownfieldPluginAndroidConfig {
55
/**
66
* The name of the Android library module to create
7-
* @default "brownfield"
7+
* @default "brownfieldlib"
88
*/
99
moduleName?: string;
1010

packages/react-native-brownfield/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface BrownfieldPluginIosConfig {
55
/**
66
* The name of the framework to create
77
* This will be used as the XCFramework name
8-
* @default "App"
8+
* @default "BrownfieldLib"
99
*/
1010
frameworkName?: string;
1111

packages/react-native-brownfield/src/expo-config-plugin/withBrownfield.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ function resolveConfig(
2828
Logger.setIsDebug(config.debug ?? false);
2929

3030
const androidPackage = expoConfig.android?.package;
31-
const androidModuleName = config.android?.moduleName ?? 'brownfield';
31+
const androidModuleName = config.android?.moduleName ?? 'brownfieldlib';
3232

3333
return {
3434
ios: expoConfig.ios
3535
? {
36-
frameworkName: config.ios?.frameworkName ?? 'App',
36+
frameworkName: config.ios?.frameworkName ?? 'BrownfieldLib',
3737
bundleIdentifier:
3838
config.ios?.bundleIdentifier ??
3939
`${expoConfig.ios.bundleIdentifier}.brownfield`,

0 commit comments

Comments
 (0)