Skip to content

Commit

Permalink
add obfuscation rules and clean the library's code
Browse files Browse the repository at this point in the history
  • Loading branch information
revakovsky committed Jun 1, 2023
1 parent 481f429 commit a2e6c7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fcm_notification/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2e6c7c

Please sign in to comment.