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 10, 2023
1 parent e5a2f7e commit da6b5b4
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 da6b5b4

Please sign in to comment.