imperiumlabs / GeoFirestore-Android

GeoFirestore for Android - Realtime location queries with Firestore
MIT License
123 stars 36 forks source link

Angular geopfirestore and GeoFirestore-Android compatibility #53

Open Texiant opened 4 years ago

Texiant commented 4 years ago

We have a web application and android application that needed the geofirestore library. For web, we are using the web version of the geopfirestore library from npm and for Android we use GeoFirestore-Android. However, it seems the storage structure of the geo hash is different in both cases and are not compatible. Here is the npm web version structure. g: { geohash: string; geopoint: GeoPoint; };

Where as in GeoFirestore-Android the structure is { g: string l: GeoPoint .... } Here is the documentation for the npm version. https://geofirestore.com/#geofirestore

Is there any way we can make both compatible?