Skip to content

Commit

Permalink
Fix release - retrofit issue after upgrading to AGP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
1ud0v1c committed Aug 13, 2023
1 parent 24758c7 commit fc0919d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@
#-renamesourcefileattribute SourceFile

-keep class com.ludovic.vimont.nasaapod.model.Photo { *; }
-keep class com.ludovic.vimont.nasaapod.model.VimeoData { *; }
-keep class com.ludovic.vimont.nasaapod.model.VimeoData { *; }

# 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 fc0919d

Please sign in to comment.