firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Serialization of com.google.firebase.firestore.GeoPoint is not possible

Open Jolanrensen opened this issue 3 years ago • 0 comments
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 :)

Jolanrensen avatar Jun 18 '22 14:06 Jolanrensen