Skip to content

Commit

Permalink
fix(android): add buildFeatures.buildConfig on for AGP8+ compatibility (
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy authored Nov 16, 2023
1 parent e5a2f7e commit 276101d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ android {
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
if (shouldUseNameSpace){
namespace = "com.reactnativepagerview"
buildFeatures {
buildConfig true
}
}
defaultConfig {
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
Expand Down

0 comments on commit 276101d

Please sign in to comment.