firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Serialization of com.google.firebase.firestore.GeoPoint is not possible
trafficstars
As the title says :) Firebase Firestore has support for GeoPoint and TimeStamp etc. natively, but since no KSerializer exists for this, (de)serialization fails.
I did manage to deserialize it from the decoder (from string) using a custom KSerializer, but encoding seems impossible from a user perspective. If there is already a way to bypass serialization (since firebase supports those classes natively), let me know :)