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
Geolocation.js geolocation is now opensourced on android 2015-12-15 10:10:20 +08:00
RCTLocationObserver.h
RCTLocationObserver.m Fix getCurrentPosition 2015-12-16 08:37:33 -08:00