Skip to content
New issue

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

Angular geopfirestore and GeoFirestore-Android compatibility #53

Open
Texiant opened this issue Sep 29, 2020 · 0 comments
Open

Angular geopfirestore and GeoFirestore-Android compatibility #53

Texiant opened this issue Sep 29, 2020 · 0 comments

Comments

@Texiant
Copy link

Texiant commented Sep 29, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant