Comments (12)
+1
Makes the GFQuery observers unusable for the moment
from geofire-objc.
This is the code to make it somewhat usable.
public extension GFQuery {
//Enum for compatibility with Geofire's Obj-C Interface
enum EventType: UInt32
{
case Entered = 0
case Exited
case Moved
}
}
You then have to use it like so:
let type = GFEventType(rawValue: eventType.rawValue)
ref.observeEventType(type)
{
//Block code
}
Would be 200% better if we didn't need this work around :)
from geofire-objc.
@jdimond / @mcdonamp - Can either of you please provide some feedback here?
from geofire-objc.
is also queryAtLocation affected by this? im trying the basic implementation but i get no response
from geofire-objc.
@iphonewsro the issue here is that the enums aren't exported correctly in Swift--it shouldn't affect the API responses if the enums exist. Is the issue that you can't get the method to work (as in it doesn't compile), or that it compiles but doesn't return what you expect?
We're taking a look into exporting the correct enums using NSEnum--as always, PRs are welcome :)
from geofire-objc.
it compiles but doesn't return what i expect. probably i'll just need help implementing this
from geofire-objc.
Ok, then it's not related to this. StackOverflow or our Google Group might be good places to start looking for similar problems, and if you can't find anything posting there asking for help would good.
from geofire-objc.
Ok, should be solved in #29. Might be a few days before we merge it, and then get it out to Cocoapods. Since NS_ENUM is backwards compatible, I believe this will be 1.1.3.
from geofire-objc.
Would be useful to get either this asap in an interim or know when 1.1.3 is coming out. Tks. Quite unusable in iOS without these enums.
from geofire-objc.
Sorry about that! We will get 1.1.3 out on Monday.
from geofire-objc.
Hey folks--hold up on the release with some CocoaPods issues, so it might still be a few days. That said, the code is merged and the v1.1.3 branch exists, so you can use:
pod 'Geofire', :git => 'https://github.com/firebase/geofire-objc.git', :tag => 'v1.1.3'
Thanks!
from geofire-objc.
Version 1.1.3
has been released to CocoaPods. Thanks for your patience. Let us know if you run into any issues with the latest bits!
from geofire-objc.
Related Issues (20)
- Question : Does geoquery download all the the keys?
- What is the Pricing logic for Geo Queries? HOT 1
- Latest releases not supporting installation without cocoapods?
- 'FirebaseDatabase/FirebaseDatabase.h' file not found in v4.0.1
- Default firebase geofire rules not allowing writes.
- Fix warts in utils subspec HOT 1
- Question: Does key exited cover a document deleted from firestore?
- Can't get near Users by my location
- No support for firebase 7.0.0 HOT 12
- GeoFire on macOS HOT 1
- Query.observe doesn't seem to fire HOT 2
- Geofire Error HOT 4
- Is GeoFire being maintained?
- Update to latest FirebaseDatabase version needed for iOS 14.5 compatibility
- Documentation missing SPM support HOT 1
- GFUtils.queryBounds radius unit inconsistent
- Query last # of keys
- Does NOT work with latest Firebase (Firebase 9.0.0). HOT 7
- Need to know wether still being maintained? Current dependency constrains to < 9.0.0 and Firebase > 10.0 HOT 4
- dyld[3143]: Library not loaded: @rpath/GeoFire.framework/GeoFire HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geofire-objc.