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(android): add support for AGP 8 #495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndreiCalazans
Copy link

Change to support AGP 8 as mentioned here: react-native-community/discussions-and-proposals#671

This does not remove package attribute from AndroidManifest to not lose compatibility with AGP < 8 (React Native < 0.71 versions).

I don't think it's worth maintaining logic to remove that attribute contitionally since it will only cause a warning to users on AGP 8 and above.

See Kudo's comment on AGP 8 issues with BuildConfig and setting JVM versions.

@lafest
Copy link

lafest commented Oct 6, 2023

react-native-community/discussions-and-proposals#671 this issue says that after adding namespace, you should delete package definition from AndroidManifest.xml file.
Is this change not necessary?

@felipecsl
Copy link

react-native-community/discussions-and-proposals#671 this issue says that after adding namespace, you should delete package definition from AndroidManifest.xml file. Is this change not necessary?

yup that change is also necessary

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.

None yet

4 participants