Skip to content

fix(android): enable BuildConfig generation - #708

Open
gulsher7 wants to merge 1 commit into
AppsFlyerSDK:masterfrom
gulsher7:fix/android-buildconfig-agp
Open

gulsher7 wants to merge 1 commit into
AppsFlyerSDK:masterfrom
gulsher7:fix/android-buildconfig-agp

Conversation

@gulsher7

Copy link
Copy Markdown

While upgrading our React Native app from 0.86.3 to 0.87.1, we started getting the following error from the AppsFlyer Android module:

defaultConfig contains custom BuildConfig fields, but the feature is disabled.

The issue is caused by INCLUDE_CONNECTOR being defined using buildConfigField, while BuildConfig generation is disabled with the newer Android Gradle Plugin version.

This change enables BuildConfig generation for the AppsFlyer Android library:

buildFeatures {
    buildConfig = true
}

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant