Open blakef opened 4 days ago
What would be the use-case of this since under SomethingSourceDir
there's no Podfile
?
If you run in your repro example mv ios SomethingSourceDir
, then everything is working fine:
"project": {
"ios": {
"sourceDir": "/Users/szymonrybczak/development/tmp/community-cli-repro/SomethingSourceDir",
"xcodeProject": {
"name": "Example.xcodeproj",
"path": ".",
"isWorkspace": false
},
"automaticPodsInstallation": false,
"assets": []
},
"android": {
"sourceDir": "/Users/szymonrybczak/development/tmp/community-cli-repro/android",
"appName": "app",
"packageName": "com.example",
"applicationId": "com.example",
"mainActivity": ".MainActivity",
"assets": []
}
}
Environment
Description
If there is a
react-native.config.js
file in the project root, theproject
properties are largely ignored. For example:I'd expect (maybe incorrectly), the user defined
react-native.config.js
to override any defaults. You can see it's partially applied withreactNativePath
but not in the platform.Reproducible Demo
https://github.com/blakef/community-cli-repro