Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"android": "react-native run-android --appId bottomtabs.example --main-activity com.microsoft.reacttestapp.MainActivity",
"build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist && react-native build-android --extra-params \"--no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a -PnewArchEnabled=true\"",
"build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist",
"ios": "react-native run-ios",
Expand Down
11 changes: 7 additions & 4 deletions apps/example/react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
const project = (() => {
try {
const { configureProjects } = require("react-native-test-app");
const { configureProjects } = require('react-native-test-app');
return configureProjects({
android: {
sourceDir: "android",
sourceDir: 'android',
},
ios: {
sourceDir: "ios",
}
sourceDir: 'ios',
// Letting the RN CLI auto-install pods fails because it expects a Gemfile
// next to the app, which this workspace doesn't use.
automaticPodsInstallation: false,
},
});
} catch (_) {
return undefined;
Expand Down
Loading