react-native/Libraries/Geolocation
Marc Shilling f48dbbecd6 Fix getCurrentPosition
Summary:
Instantiates the _pendingRequests array before trying to add to it. As it currently stands, we try to add the pending request before the array is created. getCurrentPosition always fails on the first try.
Closes https://github.com/facebook/react-native/pull/4764

Reviewed By: svcscm

Differential Revision: D2764751

Pulled By: androidtrunkagent

fb-gh-sync-id: 411a03ff16d40725d8cc0909607632045eb5a27b
2015-12-16 08:37:33 -08:00
..
RCTGeolocation.xcodeproj Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Geolocation.js geolocation is now opensourced on android 2015-12-15 10:10:20 +08:00
RCTLocationObserver.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTLocationObserver.m Fix getCurrentPosition 2015-12-16 08:37:33 -08:00