diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 408d73f7..e2d338d8 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -112,3 +112,14 @@ public *; -keep class com.simplecityapps.** -keep interface com.simplecityapps.** +##---------------Begin: proguard configuration for Gson ---------- +# Gson uses generic type information stored in a class file when working with fields. Proguard +# removes such information by default, so configure it to keep all of it. +-keepattributes Signature + +# Gson specific classes +-keep class sun.misc.Unsafe { *; } +#-keep class com.google.gson.stream.** { *; } + +# Application classes that will be serialized/deserialized over Gson +-keep class com.music.player.bhandari.m.trackInfo.models.** { *; } \ No newline at end of file diff --git a/app/src/main/java/com/music/player/bhandari/m/trackInfo/TrackInfoService.kt b/app/src/main/java/com/music/player/bhandari/m/trackInfo/TrackInfoService.kt index c8e64695..eef3275b 100644 --- a/app/src/main/java/com/music/player/bhandari/m/trackInfo/TrackInfoService.kt +++ b/app/src/main/java/com/music/player/bhandari/m/trackInfo/TrackInfoService.kt @@ -1,5 +1,6 @@ package com.music.player.bhandari.m.trackInfo.models +import android.support.annotation.Keep import com.music.player.bhandari.m.trackInfo.models.album.AlbumWrap import com.music.player.bhandari.m.trackInfo.models.similar.SimilartracksWrap import com.music.player.bhandari.m.trackInfo.models.track.TrackWrap @@ -7,6 +8,7 @@ import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query +@Keep interface TrackInfoService { @GET("?method=track.getInfo&api_key=4e464c9ca4e6763aca6d5a7a04728c77&autocorrect=1&format=json") diff --git a/app/version.properties b/app/version.properties index 949e1b6e..898fdf0d 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,4 +1,4 @@ -#Sun Dec 16 12:09:06 IST 2018 -VERSION_NUMBER=187 -VERSION_BUILD=366 +#Sun Dec 16 16:46:20 IST 2018 +VERSION_NUMBER=189 +VERSION_BUILD=376 VERSION_PATCH=0