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
When a successful result has been received by the SDK it uses Gson to convert the JSON code into a class. To get the class type the following code is executed in HppManagerFragment in the callbackHandler():
method.getParameterTypes()[0]
When mListener is written in Java, this code will complete successfully. When mListnener is written in Kotlin, instead of the ConsumerResponse type, 'Object' is returned, causing Gson to throw a ClassCastException.
Please make your SDK compatible with Kotlin.
The text was updated successfully, but these errors were encountered:
When a successful result has been received by the SDK it uses Gson to convert the JSON code into a class. To get the class type the following code is executed in HppManagerFragment in the callbackHandler():
method.getParameterTypes()[0]
When mListener is written in Java, this code will complete successfully. When mListnener is written in Kotlin, instead of the ConsumerResponse type, 'Object' is returned, causing Gson to throw a ClassCastException.
Please make your SDK compatible with Kotlin.
The text was updated successfully, but these errors were encountered: