We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the Android app does not handle changes to new parameters added to the SDK. We need to handle any new parameters gracefully.
Analyzing the code it seems that the deserialization of json is handled by the SDK (Transport.kt:customClient(...)).
Possible fix would be to add disable(DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES) to JacksonSerializer while setting up the serializer.
install(JsonFeature) { serializer = JacksonSerializer() { disable(DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES) } }
The text was updated successfully, but these errors were encountered:
I have investigated further into this and setting DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES doesn't seem to resolve this.
DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES
Using Gson as JsonFeature does seem to help:
JsonFeature
install(JsonFeature) { serializer = GsonSerializer() }
Though, this also introduces some complications which I am still trying to figure out. Once I resolve those I will create a PR for this.
Sorry, something went wrong.
mistryrakesh
Successfully merging a pull request may close this issue.
Currently the Android app does not handle changes to new parameters added to the SDK. We need to handle any new parameters gracefully.
Analyzing the code it seems that the deserialization of json is handled by the SDK (Transport.kt:customClient(...)).
Possible fix would be to add disable(DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES) to JacksonSerializer while setting up the serializer.
The text was updated successfully, but these errors were encountered: