Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Add consumer Proguard file to Android build configuration. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwhelanLD authored Sep 3, 2021
1 parent 89668aa commit db3ca38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ android {
targetSdkVersion 26
versionCode 1
versionName "1.0"
consumerProguardFiles("consumer-proguard-rules.pro")
}
lintOptions {
abortOnError false
Expand Down
13 changes: 13 additions & 0 deletions android/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ~/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

-keep class com.launchdarkly.sdk.LDUser$Builder { public <methods>; }
-keep class com.launchdarkly.sdk.android.LDConfig$Builder { public <methods>; }

0 comments on commit db3ca38

Please sign in to comment.