Closed bmoliveira closed 4 years ago
This is due to a breaking change in Moshi 1.9.0: https://github.com/square/moshi/blob/master/CHANGELOG.md#version-190
Now the KotlinJsonAdapterFactory
must be explicitly added when building the Moshi instance.
Yup, it was exactly that, thank you.
Do you know if there is any planned for this merge and release?
Hi All,
Thanks for raising! We've just released version 1.6.0
of the library which upgrades our dependency of moshi to 1.9 to work with others who have also already upgraded!
Please re-open or raise a new issue if this issue persists :-)
Hey 👋
I was trying to update all libs to the latest version on my project and after all the updates, I've started to get a crash on runtime with the serialization of the class
com.pusher.pushnotifications.internal.StartJob
Not 100% sure but I think the crash comes to the fact that on Moshi 1.9.+ some implicit behaviours changed.
I've found this article and I think it's related to this https://www.zacsweers.dev/a-closer-look-at-moshi-1-9/
But here it is the crash I'm getting:
Thank you