bamlab / react-native-image-resizer

🗻 Resize local images with React Native
MIT License
1.59k stars 338 forks source link

fix(android): handle namespace properly starting AGP 8 #401

Closed taboulot closed 3 months ago

taboulot commented 3 months ago

Namespace should be declared in build.gradle starting from AGP 8.x, Starting AGP 7.3 it is also supported. For AGP < 7.3, namespace should be declared in AndroidManifest. See: https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes#namespace-dsl

See also this discussion: https://github.com/react-native-community/discussions-and-proposals/issues/671

Has been tested on RN 0.70, 0.71 & 0.74