diff --git a/CHANGELOG.md b/CHANGELOG.md index daecc28..836f76a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.3.0 **Library changes:** - Added convert methods with result data +- Updated Proguard's rules to keep public classes ## 4.2.0 **Library changes:** diff --git a/library/proguard-rules.pro b/library/proguard-rules.pro index ce997ea..608ec7c 100644 --- a/library/proguard-rules.pro +++ b/library/proguard-rules.pro @@ -18,9 +18,4 @@ -dontwarn java.lang.invoke.StringConcatFactory --keep class com.uploadcare.android.library.data.** { *; } --keep class com.uploadcare.android.library.api.Project { *; } --keep class com.uploadcare.android.library.api.UploadcareCopyFile { *; } --keep class com.uploadcare.android.library.api.UploadcareFile { *; } --keep class com.uploadcare.android.library.api.UploadcareGroup { *; } --keep class com.uploadcare.android.library.api.UploadcareWebhook { *; } +-keep class com.uploadcare.android.library.** { *; } \ No newline at end of file diff --git a/widget/proguard-rules.pro b/widget/proguard-rules.pro index 8848c9f..fd8ab63 100644 --- a/widget/proguard-rules.pro +++ b/widget/proguard-rules.pro @@ -16,7 +16,7 @@ # public *; #} --keep class com.uploadcare.android.widget.data.** { *; } +-keep class com.uploadcare.android.widget.** { *; } # Keep inherited services. -if interface * { @retrofit2.http.* ; }