react-native/Libraries
realaboo 49b2805da2 Geolocation Accuracy and Cached Location Bug
Summary:There are two issues:

1. When calling startObserving or getCurrentPosition for the first time, _locationManager is not initialized and the accuracy value set in options is lost.

2. When using the cached location _lastLocationEvent, current timestamp retrieved by CFAbsoluteTimeGetCurrent() is from 2001, but the timestamp of the location is from 1970. In addition, the comparison between _lastLocationEvent[@"coords"][@"accuracy"] and options.accuracy is incorrect. Less value indicates more accurate location.
Closes https://github.com/facebook/react-native/pull/6198

Differential Revision: D3023786

Pulled By: nicklockwood

fb-gh-sync-id: 869c0e34252470275bf99cf0e5861747247f1158
shipit-source-id: 869c0e34252470275bf99cf0e5861747247f1158
2016-03-08 05:17:21 -08:00
..
ART Fixed ART background color 2016-01-08 15:42:32 -08:00
ActionSheetIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated Fix unit tests in open source environment 2016-03-02 07:07:38 -08:00
AppRegistry Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
AppState Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
AppStateIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Components Enable blurOnSubmit for text input in android 2016-03-02 07:07:32 -08:00
CustomComponents Clean up APIs. 2016-03-04 14:57:31 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools RN: Fix Exponential WebSocket Growth from DevTools 2016-03-07 19:20:25 -08:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Geolocation Accuracy and Cached Location Bug 2016-03-08 05:17:21 -08:00
Image Support the scriptURLs observed on Android for asset source resolver 2016-03-05 22:43:25 -08:00
Inspector fix RCTPerfMonitor display unit error 2016-02-26 04:54:32 -08:00
Interaction Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
JavaScriptAppEngine Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
LayoutAnimation Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Linking Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
LinkingIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Modal Add onShow callback for RCTModalHostView 2016-03-03 12:43:36 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
NavigationExperimental Fix listener name in NavigationAnimatedView 2016-03-05 15:48:26 -08:00
Network Play nice with `fetch` after the newest changes that add support for `XMLHttpRequest.response` 2016-03-07 13:30:41 -08:00
Picker Add position to Picker onValueChange's call 2016-02-19 06:50:33 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Deprecate PullToRefreshViewAndroid and remove it from the website 2016-02-21 16:17:36 -08:00
PushNotificationIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ReactNative Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Sample Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Settings Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Storage multiGet breaking test and fix 2016-02-05 16:45:46 -08:00
StyleSheet Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Text Add support for `textAlign` on iOS multiline text input 2016-02-07 12:38:36 -08:00
Utilities Move cssVar out of react-native-github 2016-03-04 13:22:03 -08:00
Vibration vibration module 2016-03-03 04:08:31 -08:00
WebSocket WebSocket: call onclose before closing in event of error 2016-03-06 15:02:27 -08:00
react-native vibration module 2016-03-03 04:08:31 -08:00
vendor Fix breakages caused by switch to fbjs 2016-03-02 08:26:33 -08:00
Promise.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00