Skip to content

Commit

Permalink
fix(plugin): nativeconstants + envswitcher java only
Browse files Browse the repository at this point in the history
  • Loading branch information
crherman7 committed Jan 13, 2025
1 parent 6d77450 commit f20d7bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/plugin-fsapp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ export function getEnvironmentSwitcherPath(
'main',
'java',
...packageToPath(config.android.packageName),
getReactNativeVersion() === '0.73'
? 'EnvSwitcher.kt'
: 'EnvSwitcher.java',
'EnvSwitcher.java',
],
};

Expand All @@ -77,9 +75,7 @@ export function getNativeConstantsPath(
'main',
'java',
...packageToPath(config.android.packageName),
getReactNativeVersion() === '0.73'
? 'NativeConstants.kt'
: 'NativeConstants.java',
'NativeConstants.java',
],
};

Expand Down

0 comments on commit f20d7bc

Please sign in to comment.