-
Notifications
You must be signed in to change notification settings - Fork 223
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
Issue with AppCenter not seeing React Native apps in subfolders #928
Comments
hi @nrajpurkar how many layers is |
@dluc Do you mind reaching out to support from App Center portal? You can ask support team to assign to me. I'd like to take a closer look at your app, which hopefully can help |
@dluc Do you find any workaround? I am facing the same issue. |
@b-barry It ended up being that certain files the repository analysis was looking for is deep in the repository, for example, gradlew. If you can reach out to support, we can figure out if your case is something similar. |
@dennispan Could you give the support address? |
@b-barry This hopefully helps: https://intercom.help/appcenter/en/articles/1698824-getting-help-with-app-center |
This is really an annoying issue! |
Agree that this is a major limitation on the part of App Center Build. It should be a well-supported feature to build apps that are not stored in the root of the repository. |
I have a scenario where the repo has the nodejs server, web-client and react-native code are in single repo. Without specifying the subfolders creating a build environment is impossible. I currently have a separate repo where I duplicate the react-native code to get the build working. It would be nice if path to react-native code can be specified |
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment. |
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion. |
@rrnara How did you solve the issue? |
I created a separate repo to which the subfolder gets pushed on commit using git subtree split command. And that mobile only repo is what is used for building apps in appcenter |
I have a React Native app (not using Expo) in my DevOps repository, and the src code is not in the root folder, e.g:
/frontend/mobileapp/reactnative
is the root folder of the RN app, sopackage.json
is in/frontend/mobileapp/reactnative/package.json
.Given this setup, when I try to configure a build, AppCenter shows an error:
if I move the same code to the root (so
package.json
is in/reactnativeapp/package.json
) instead everything works fine:Looks like I need to restructure my repository just for AppCenter, which is far from ideal.
Is this a known limitation or a bug?
Any workaround to setup the build manually so I can specify where these files are?
The text was updated successfully, but these errors were encountered: