Questions tagged [geofire]

GeoFire is a library for storing and querying geographic locations and receiving realtime updates when location data changes.

GeoFire is an open-source library that allows you to store and query a set of items based on their geographic location. GeoFire uses Firebase for data storage, allowing query results to be updated in realtime as they change. GeoFire does more than just measure the distance between locations; it selectively loads only the data near certain locations, keeping your applications light and responsive, even with extremely large datasets.

GeoFire is an MIT-licensed open source project, which you can see here: https://github.com/firebase/geoFire

Related tags

576 questions
4
votes
1 answer

Geofire (iOS) clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using GeoFire (2.0.0) in the Swift project, after today's update pods when the project is going to Xcode shows clang: error: linker command failed with exit code 1 (use -v to see invocation) in the Geofire framework. Tell me, how can I fix…
Alexander Khitev
  • 6,417
  • 13
  • 59
  • 115
4
votes
3 answers

Storing Extra Data Under GeoFire Nodes

I am storing location data via GeoFire in my database, here is the structure: geofire -Ke1uhoT3gpHR_VsehIv -Kdrel2Z_xWI280XNfGg -g: "dr5regw90s" -l -0: 40.7127837 -1: -74.00594130000002 It is avised to store a location's…
Clay Banks
  • 4,483
  • 15
  • 71
  • 143
4
votes
0 answers

GeoFire swift 3 query not returning results in the order expected from GeoFire/FireBase

Here is the relevant function in my ViewController: @IBAction func findPeople(_ sender: Any) { let center = CLLocation(latitude: myLocation.latitude, longitude: myLocation.longitude) let radiusQuery = geoFireUserLocations!.query(at: center,…
appdojo
  • 41
  • 1
4
votes
0 answers

Firebase GeoFire vs Geofence API

Am looking at adding geofencing type capabilities to an app. Right now I'm already using Firebase and Geofire (https://github.com/firebase/geofire-java) and was wondering what, if anything does Google's Geofence API…
John O'Reilly
  • 10,000
  • 4
  • 41
  • 63
4
votes
2 answers

Using GeoFire in an Angular2 App

I'm trying to set up GeoFire in my Angular2 (RC5) app. I've installed geofire and firebase with npm and configured systemjs to import it. Here's my package.json: { "name": "MyProject", "version": "0.1.0", "scripts": { "start": "tsc &&…
Max Mumford
  • 2,482
  • 5
  • 28
  • 40
4
votes
0 answers

Perform firebase query in a nested style. Best practice?

I am doing a practice app on an instagram like app on firebase and swift. The question I have is that I am finding myself nesting my firebase "observeSingleEventOfType" to obtain all the data I need such that I can put it in my "Post Class". I was…
user172902
  • 3,541
  • 9
  • 32
  • 75
4
votes
0 answers

Performance on Firebase/GeoFire implementations dealing with matching criteria

For my android app, I'm trying to match users based on (for now) location, age, and gender. I'm using GeoFire to query the Firebase Database for all users in a specified area. I'm trying to figure out what the quickest/best way would be to filter…
4
votes
3 answers

Xcode / Swift: No such module 'GeoFire'

I have downloaded latest GeoFire framework v1.1.3 from here and dropped it in my Swift Xcode project but my import GeoFire statement is throwing No such module 'GeoFire' This is very strange because a few minutes ago I did the same for Firebase…
Kashif
  • 4,642
  • 7
  • 44
  • 97
4
votes
1 answer

Using Firebase .startAt() and .endAt() query methods for date ranges

I'm using firebase in combination with GeoFire, this works great but I need one more query and I'm not sure how it should be done. This is my GeoFire/Firebase query: var geoFire = new GeoFire(ref.child("geoFire")); var geoQuery = geoFire.query({ …
kevinius
  • 4,232
  • 7
  • 48
  • 79
4
votes
0 answers

GeoFire and Firebase - How to query for a specified number of nearest-by entries?

My app is using a Firebase and I am looking at Geofire for assistance with location querying. Instead of querying for all entries within a specified radius, I would like to perform a query for retrieving the x closest entries in location to the…
TWNeal
  • 133
  • 1
  • 7
3
votes
0 answers

geoflutterfire stream to Future

I have to query the geoflutterfire data with a Stream. But I would like to use this in a Future in a ChangeNotifierprovider to be able to wait until the Stream has all data. I never built a Future with a Stream in it before. What do I have to…
JoergP
  • 1,349
  • 2
  • 13
  • 28
3
votes
5 answers

Getting "CocoaPods could not find compatible versions for pod "Firebase/Database" " Error on flutter

i have followed an exact guide on how to setup a geofire on to my project. i have success on my android project.. but i cant get it to run for the ios.. and it has the following error as i try to run it. [!] CocoaPods could not find compatible…
Danny
  • 317
  • 4
  • 17
3
votes
0 answers

Using Geofire in Xamarin.Forms

I am creating an app which display sport activities on a map around the use's current location. The sports activities are stored in a Firebase database. There is more than 15k activities. To do that, I use Firebase and Geofire in a Xamarin.Forms…
3
votes
1 answer

GeoFire on iOS with Firebase 5

The update from Firebase 4.x to Firebase 5.0.0 broke my GeoFire installation. I was installing GeoFire via "Podfile" like this: pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git' I now receive this error message: [!] CocoaPods…
The Lone Coder
  • 3,062
  • 4
  • 20
  • 35
3
votes
0 answers

Swift 4: Geofire query not printing any results.

I am trying to pull down all my location results from Firebase with the help of Geofire. Unfortunately I am unable to do so. I have read through all the documentation with no luck as to why I cannot get it to work. I establish my geoFireRef... var…
1 2
3
38 39