codediodeio / geofirex

:globe_with_meridians: :round_pushpin: Geolocation Queries with Firestore & RxJS

Home Page:https://geo-test-c92e4.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

app.firestore is not a function

sultankhan opened this issue · comments

I just started using this library with react-native and I am getting this error on geo.collections() method. Please suggest. Thanks,

2018-07-19_0629

Fixed!
Had to add import '@firebase/firestore' as well.

Worked perfect. Thanks.

Thanks, this should probably be updated in the docs as you need to have Firestore initialized in the project first.