-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autolinking fails if android/app folder or Xcode project are missing #1054
Comments
Interesting, I would say that the expected and supported behaviour would be for Definitely to be fixed. |
Okay, this is not a The new This requirement is no longer valid for dependencies (they can just ship with a For projects, Either way, leaving that as a feature. |
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
Environment
Description
In monorepos where packages are split by platform,
react-native config
is not able to populateprojects
because it makes assumptions on the folder structure of the package. For example, given a project like below:The output of
react-native config
inmy-component-android
/-ios
is currently:This had no consequences up until 3.0, when autolinking started using it in #768. Autolinking is currently broken for repos with a different folder structure.
It is possible to work around this issue by adding a
react-native.config.js
with the following content:Reproducible Demo
Checkout this repo and branch: https://github.com/microsoft/react-native-test-app/tree/tido/autolink-fail-repro.
Then run the following:
cd example yarn pod install --project-directory=ios
Output:
cc @arazabishov in case you need more Android details.
The text was updated successfully, but these errors were encountered: