Skip to content

Commit bf38b29

Browse files
fix: add correct script on Android (#596)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary Fixes a regression where `build-android` contained a script for building iOS app. ### Test plan `build:android` should contain script for building Android app.
1 parent 7e00f2b commit bf38b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-react-native-library/src/utils/generateExampleApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default async function generateExampleApp({
163163
const iosBuild = [
164164
'npm run mkdist',
165165
'react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist',
166-
SCRIPTS_TO_ADD['build:android'],
166+
SCRIPTS_TO_ADD['build:ios'],
167167
].join(' && ');
168168

169169
Object.assign(scripts, {

0 commit comments

Comments
 (0)