Tap-Payments / gosellSDK-Flutter

Flutter plugin for goSellSDK
MIT License
11 stars 24 forks source link

Getting this issue on clicking tap pay button in release mode and tap payment webview is not opened, PlatformException(error, TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved #59

Open neha-madhini opened 2 months ago

neha-madhini commented 2 months ago

PlatformException(error, TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved., null, java.lang.IllegalStateException: TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved. I/flutter (11611): at com.google.gson.reflect.TypeToken.getTypeTokenTypeArgument(SourceFile:41) I/flutter (11611): at com.google.gson.reflect.TypeToken.(SourceFile:2) I/flutter (11611): at mj0$c.(SourceFile:1) I/flutter (11611): at mj0.i(SourceFile:25) I/flutter (11611): at fj1.b(SourceFile:309) I/flutter (11611): at fj1.i(SourceFile:71) I/flutter (11611): at fj1.j(SourceFile:11) I/flutter (11611): at tap.company.go_sell_sdk_flutter.GoSellSdkFlutterPlugin.onMethodCall(SourceFile:75) I/flutter (11611): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(SourceFile:18) I/flutter (11611): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(SourceFile:19) I/flutter (11611): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(SourceFil