Skip to content
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

Breaking: Remove androidMkPath from react-native config #1843

Merged

Conversation

cortinico
Copy link
Member

Summary:

I'm proposing we remove the androidMkPath field from react-native config and from the autolinking.

Since 0.70 we now fully support CMake for build configuration, and the Android.mk files have been removed from the default template.

I'm not aware of anyone relying on the autolinking generating Android.mk files for them + it seems like no one is using this field anymore:
https://cs.github.com/?scopeName=All+repos&scope=&q=androidMkPath+path%3A*.js
(As the fields had a sensible default, and it was unlikely libraries had to override this).

Deprecation Plan:

If we feel this is too 'aggressive', we can keep androidMkPath inside the CLI for one version, so that apps on 0.72 will keep on using it for the fallback behaviour for cmakeListsPath and eventually remove in 0.73.

@github-actions github-actions bot added the docs Documentation change label Feb 20, 2023
@thymikee
Copy link
Member

As long as it's surfaced in the RN 0.72 release notes, I'm good with doing this now 👍🏼

@cortinico cortinico merged commit e88127d into react-native-community:main Feb 20, 2023
@cortinico cortinico deleted the nc/cleanup-androidMkPath branch February 20, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants