Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable
buildFeatures.buildConfig
for AGP 8+ (#285)
## 馃摐 Description Enabled `buildFeatures.buildConfig` for Android Gradle Plugin 8+. ## 馃挕 Motivation and Context In new react-native version 0.73 FB team switched to AGP 8. For AGP 8+ it's crucial to add `buildConfig true` under `buildFeatures` if you are using `BuildConfig` with custom configuration (this package is using it for distinguishing 2 different architectures - paper and fabric). I decided to add it under `AGP >= 7` condition because it will not break anything and such condition will be evaluated as `true` for AGP 8. ## 馃摙 Changelog ### Android - added `buildFeature { buildConfig true }` if AGP is 7+; ## 馃 How Has This Been Tested? Tested manually and via CI builds. ## 馃摑 Checklist - [x] CI successfully passed
- Loading branch information