Abhishek AN

Results 19 comments of Abhishek AN

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

ChatGPT gave me this as the answer The java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType error can occur with Retrofit and Moshi when using R8 full mode because R8 removes...

> @eury-fsl will try this and get back. Okay this doesn't work I'm convinced I've got something to deal with Moshi. This is my issue if anyone has a clue,...

@eury-fsl here, this is my proguard ``` -keep class com.iku.community_chat.data.room.entity.** { *; } -keep class androidx.appcompat.widget.** { *; } #Jsoup -keep public class org.jsoup.** { public *; } -keepnames class...

@eury-fsl No. This is how I provide my retrofit instances ``` @Provides @Singleton @Keep fun getIkuRetrofit(moshi: Moshi, okHttpClient: OkHttpClient): IkuApiService { return Retrofit.Builder() .baseUrl(Constants.IKU_BASE_URL) .addConverterFactory(MoshiConverterFactory.create(moshi)) .client(okHttpClient) .build() .create(IkuApiService::class.java) } @Provides...

After clearing cache and invalidating AS, it now worked :)

Amazing, will check. Update: @govinddixit-cred it still crashes. This is what I have: ``` debugImplementation 'com.plutolib:pluto:2.2.1' releaseImplementation 'com.plutolib:pluto-no-op:2.2.1' debugImplementation 'com.plutolib.plugins:bundle-core:2.2.1' releaseImplementation 'com.plutolib.plugins:bundle-core-no-op:2.2.1' ```

> @elioenays sorry for this my pr is way too old. I will have to check all the new updates I will just create a fresh pr for this I...