react-native/Libraries/Geolocation
Christopher Dro 109036b4c4 Expose option for distance filtering on location updates.
Summary:
My original implementation involved creating a `RCT_ENUM_CONVERTER` with `CLLocationAccuracy` on iOS and a Hashmap on Android that would convert `string` values to `doubles` for distance filtering.

I got this to work just fine but realized that I made things more complicated than they needed to be and simplified everything by just have the option be a decimal value (in meters) that works both for iOS and Android.

The only thing i'm not sure about is if we can set arbitrary values for CLLocationManager's distance filter.
nicklockwood  Any idea?
Closes https://github.com/facebook/react-native/pull/5563

Reviewed By: svcscm

Differential Revision: D2908250

Pulled By: nicklockwood

fb-gh-sync-id: d83c12b3ce7c343f413749a2cd614b3bf04d6750
2016-02-05 16:55:33 -08:00
..
RCTGeolocation.xcodeproj Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Geolocation.js Expose option for distance filtering on location updates. 2016-02-05 16:55:33 -08:00
RCTLocationObserver.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTLocationObserver.m Expose option for distance filtering on location updates. 2016-02-05 16:55:33 -08:00