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

chore: remove unused native_modules files #2547

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Nov 5, 2024

Summary:

Native autolinking logic for iOS and Android moved to the core react-native repository with RN 0.75, which ties to RNC CLI v14.x:

These files should essentially be unused now in 0.75+ apps.

Test Plan:

Adjusted the documentation accordingly and removed the integration test for iOS autolinking.

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@github-actions github-actions bot added docs Documentation change infra Internal work not facing public APIs labels Nov 5, 2024
Copy link
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

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

🧹

Copy link
Member

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup @thymikee

@@ -1,588 +0,0 @@
import groovy.json.JsonSlurper
Copy link
Member

Choose a reason for hiding this comment

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

I was thinking instead of deleting this file we can just let it print a huge warning on what to do instead

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh that's very reasonable, will update

@thymikee
Copy link
Member Author

thymikee commented Nov 6, 2024

This is how warning messages look like for:

Android (when running run-android):
Screenshot 2024-11-06 at 16 36 18

iOS (when running pod install):
Screenshot 2024-11-06 at 16 35 48

@thymikee thymikee merged commit f4c64e2 into main Nov 7, 2024
4 of 10 checks passed
@thymikee thymikee deleted the chore/remove-native-modules branch November 7, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation change infra Internal work not facing public APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants