Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Apr 26, 2024 · 1 comment

Comments

@neha-madhini
Copy link

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

@muhammadwaqarhaider
Copy link

I am facing same issues. Do you found any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants