We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
react-native.config.js
1 parent db4da7b commit 0e6a420Copy full SHA for 0e6a420
react-native.config.js
@@ -7,6 +7,7 @@ const project = (() => {
7
iosProjectPath,
8
windowsProjectPath,
9
} = require('react-native-test-app');
10
+ const iosProject = iosProjectPath('ios');
11
return {
12
android: {
13
sourceDir: path.join('example', 'android'),
@@ -15,7 +16,8 @@ const project = (() => {
15
16
),
17
},
18
ios: {
- project: iosProjectPath('example/ios'),
19
+ sourceDir: 'example/ios',
20
+ ...(iosProject ? { project: iosProject } : undefined),
21
22
windows: fs.existsSync('example/windows/AsyncStorageExample.sln') && {
23
sourceDir: path.join('example', 'windows'),
0 commit comments