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

[android] Add support for autolinking via CMake #1630

Merged
merged 2 commits into from
Jun 28, 2022

Conversation

cortinico
Copy link
Member

Summary:

This adds support for autolinking via CMake. Similarly to #1603 it creates a CMakeLists.txt alongside the Android.mk with a similar logic. I will take care of adapting the template on RN's side to work with this.

Test Plan:

Tested locally. Not sure how to test this e2e on CI.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Jun 28, 2022
…34082)

Summary:
This is the companion PR of react-native-community/cli#1630
It extends the `ReactNative-application.cmake` file with instructions to pickup the autolinked libraries.

## Changelog

[Internal] [Changed] - Extend the RN Application.cmake file to support Android autolinking

Pull Request resolved: #34082

Test Plan: Tested locally as we don't have a way to test autolinking on CI.

Reviewed By: cipolleschi

Differential Revision: D37463203

Pulled By: cortinico

fbshipit-source-id: 0b28e7f214c265ebfec4ccc59ae321f682299cf8
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@thymikee thymikee merged commit 86df104 into react-native-community:master Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants