You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this might be an irrelevant issue. But as Tinder Scarlet library is not being updated and you are using this library, so you might face the issue which I couldn't solve.
With gradle version above 8, there is a weird issue with obfuscation. I am trying to run the scarlet demo app when enabling obfuscation with minifyEnabled true but it crashes with the following message:
java.lang.IllegalArgumentException: Receive method must return ParameterizedType: public abstract kotlinx.coroutines.flow.Flow com.tinder.app.echo.api.EchoService.observeBitmap()
at com.tinder.scarlet.internal.servicemethod.ServiceMethod$Receive$Factory.create(ServiceMethod.kt:100)
at com.tinder.scarlet.internal.servicemethod.ServiceMethod$Receive$Factory.create(ServiceMethod.kt:66)
at com.tinder.scarlet.internal.servicemethod.ServiceMethodExecutor$Factory.toServiceMethod(ServiceMethodExecutor.kt:47)
at com.tinder.scarlet.internal.servicemethod.ServiceMethodExecutor$Factory.findServiceMethods(ServiceMethodExecutor.kt:38)
at com.tinder.scarlet.internal.servicemethod.ServiceMethodExecutor$Factory.create(ServiceMethodExecutor.kt:32)
at com.tinder.scarlet.internal.Service$Factory.create(Service.kt:28)
at com.tinder.scarlet.Scarlet.implementService(Scarlet.kt:108)
at com.tinder.scarlet.Scarlet.create(Scarlet.kt:100)
at com.tinder.app.echo.inject.EchoBotComponent$EchoBotModule.provideEchoService(EchoBotComponent.kt:105)
The problem is when the demo is not minifying, the methods of scarlet service interfaces has a genericReturnType of ParameterizedTypeImpl type. But when switching minifyingEnabled on, the genericReturnType will become a type of java.lang.Class.
The text was updated successfully, but these errors were encountered:
I know this might be an irrelevant issue. But as Tinder Scarlet library is not being updated and you are using this library, so you might face the issue which I couldn't solve.
With gradle version above 8, there is a weird issue with obfuscation. I am trying to run the scarlet demo app when enabling obfuscation with
minifyEnabled true
but it crashes with the following message:The problem is when the demo is not minifying, the methods of scarlet service interfaces has a
genericReturnType
ofParameterizedTypeImpl
type. But when switchingminifyingEnabled
on, thegenericReturnType
will become a type ofjava.lang.Class
.The text was updated successfully, but these errors were encountered: