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

feat(android): RN-0.73 and Android Gradle Plugin 8.0 Compatibility Fix #485

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

dishantwalia
Copy link
Contributor

Test Plan:
react-native-community/discussions-and-proposals#671

React Native 0.73 will depend on Android Gradle Plugin (AGP) 8.x. This will require all the libraries to specify a namespace in their build.gradle file. We added a compatibility layer for libraries that haven't specified a namespace, but please consider updating your libraries nonetheless.

Screenshot 2024-01-20 at 5 46 18 PM

@dishantwalia dishantwalia changed the title RN-0.73 and Android Gradle Plugin 8.0 Compatibility fix: RN-0.73 and Android Gradle Plugin 8.0 Compatibility Fix Jan 20, 2024
@dishantwalia dishantwalia changed the title fix: RN-0.73 and Android Gradle Plugin 8.0 Compatibility Fix feat(android): RN-0.73 and Android Gradle Plugin 8.0 Compatibility Fix Jan 20, 2024
Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

this now corresponds to the way I've done it in other modules which will emit a warning because of the AndroidManifest.xml contents but will still work for people on all versions of AGP (5, 6, 7 and 8)

This corresponds to the patch I'm currently using in my work apps for this module and works + is in production / tested

@mikehardy mikehardy merged commit d7f506d into thebergamo:master Jan 26, 2024
4 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 26, 2024
## [12.1.3](v12.1.2...v12.1.3) (2024-01-26)

### Bug Fixes

* **android:** add gradle namespace for react-native 0.73 / android gradle plugin 8.0 ([#485](#485)) ([d7f506d](d7f506d))
* **deps, ios:** use facebook-ios-sdk 16.3.1 ([e612900](e612900))

### Performance Improvements

* **ci:** we know the exact paths of the files to use for cache freshness ([305fcd0](305fcd0))
Copy link

🎉 This PR is included in version 12.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ankitpunchh
Copy link

Thank you for this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants