109036b4c4
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 |
||
---|---|---|
.. | ||
RCTGeolocation.xcodeproj | ||
Geolocation.js | ||
RCTLocationObserver.h | ||
RCTLocationObserver.m |