Skip to content

Commit

Permalink
MomentsApi: Proguard rules updates (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamayok authored Sep 3, 2024
1 parent bd4fd70 commit 973ecd6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion momentsapi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'maven-publish'
}

version = '1.0.0'
version = '1.0.1'

android {
namespace 'com.tealium.momentsapi'
Expand Down
21 changes: 14 additions & 7 deletions momentsapi/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,22 @@
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
-keepparameternames
-keeppackagenames
-renamesourcefileattribute SourceFile
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,
SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-keep class com.tealium.momentsapi.MomentsApiService
-keep class com.tealium.momentsapi.EngineResponse
-keep class com.tealium.momentsapi.EngineResponse$Companion
-keep class com.tealium.momentsapi.MomentsApiRegion
-keep class com.tealium.momentsapi.ResponseListener
-keep class com.tealium.momentsapi.TealiumConfigMomentsApiKt
-keep class com.tealium.momentsapi.ErrorCode
-keep class kotlin.Metadata { *; }

-keep class com.tealium.momentsapi.MomentsApiService { *; }
-keep class com.tealium.momentsapi.EngineResponse { *; }
-keep class com.tealium.momentsapi.EngineResponse$Companion { *; }
-keep class com.tealium.momentsapi.MomentsApiRegion { *; }
-keep class com.tealium.momentsapi.ResponseListener { *; }
-keep class com.tealium.momentsapi.TealiumConfigMomentsApiKt { *; }
-keep class com.tealium.momentsapi.ErrorCode { *; }

0 comments on commit 973ecd6

Please sign in to comment.