From a2e6c7ce42f77466c5cdadbce015f099633888ba Mon Sep 17 00:00:00 2001 From: revakovsky Date: Thu, 1 Jun 2023 18:08:07 +0300 Subject: [PATCH] add obfuscation rules and clean the library's code --- fcm_notification/proguard-rules.pro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fcm_notification/proguard-rules.pro b/fcm_notification/proguard-rules.pro index e69de29..457b86b 100644 --- a/fcm_notification/proguard-rules.pro +++ b/fcm_notification/proguard-rules.pro @@ -0,0 +1,8 @@ + # Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). + -keep,allowobfuscation,allowshrinking interface retrofit2.Call + -keep,allowobfuscation,allowshrinking class retrofit2.Response + + # With R8 full mode generic signatures are stripped for classes that are not + # kept. Suspend functions are wrapped in continuations where the type argument + # is used. + -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation \ No newline at end of file