Open hgrewa opened 3 years ago
Need this too.
Any update on this coming?
Repo seem dead. I tried to modify the source but i got an error when i execute run build:
Created bundle index.cjs.js: 23.75 kB → 6.8 kB (gzip) Created bundle index.esm.js: 23.56 kB → 6.74 kB (gzip) (!) Unresolved dependencies https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency firebase/firestore (imported by src\client.ts, src\query.ts) created dist/index.cjs.js, dist/index.esm.js in 1.3s
I created a pull request to support firebase ^8.0.0
feel free to upvote it https://github.com/codediodeio/geofirex/pull/204
I created a pull request to support firebase
^8.0.0
feel free to upvote it https://github.com/codediodeio/geofirex/pull/204
How can i use your pull request in my project?
It's amazing what you did, i upvoted!
Any update here?
Is this project still maintained?
It has been several years since the last comment and it appears this repo is no longer maintained, but I came across this discussion while trying to get geofirex to work with a newer version of Firebase.
If it helps anyone else who also comes across this, there appears to be a fork of the package that has been updated to work with newer Firebase versions.
https://www.npmjs.com/package/@thetsf/geofirex
Thank you to the author of the fork!
Any idea of how to handle the breaking change that comes with firebase 8.0.0 onward
Before 8.0.0 import * as firebase from 'firebase/app'
After 8.0.0 import firebase from 'firebase/app'
Adding geofirex to a new angular application is throwing errors like
Error: node_modules/geofirex/dist/client.d.ts:5:18 - error TS2694: Namespace '"..../node_modules/firebase/index"' has no exported member 'firestore'.
--> geopoint: fb.firestore.GeoPoint;
I tried adding "allowSyntheticDefaultImports": true to tsconfig, but that does not address the issue Is there a workaround?