react-native-clipboard / clipboard

React Native Clipboard API for both iOS and Android.
MIT License
669 stars 118 forks source link

feat(android): add support for AGP 8 #200

Open AndreiCalazans opened 10 months ago

AndreiCalazans commented 10 months ago

Overview

Change to support AGP 8 as mentioned here: https://github.com/react-native-community/discussions-and-proposals/issues/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.

Test Plan

felipecsl commented 7 months ago

Also need to remove package attribute from AndroidManifest.xml