react-native/flow
Gant Laborde c6024f6391 - Add ability to detect if location was mocked
Summary:
Since API 18, Android locations have had the `isFromMockProvider()` function, to verify the validity of a provided location.  This was one of many methods one could verify location data, but as of Marshmallow, the other ways of detecting if "Mock Locations" is on in developer settings has been deprecated or defunct.

This means some devices can only detect location mocking by exposing the method on the location object.

This change provides that exposure.
Closes https://github.com/facebook/react-native/pull/9390

Differential Revision: D3858205

Pulled By: bestander

fbshipit-source-id: 3bae429cc0596ea01926c5be204f4403e4a2414f
2016-09-20 05:59:04 -07:00
..
Map.js Update FBSource to use Flow 0.22 2016-03-08 12:39:29 -08:00
Position.js - Add ability to detect if location was mocked 2016-09-20 05:59:04 -07:00
Promise.js Deploy v0.23.0 2016-04-14 16:18:41 -07:00
Set.js Update FBSource to use Flow 0.22 2016-03-08 12:39:29 -08:00
console.js module graph 2016-09-14 10:28:34 -07:00
global.js Initial implementation of requestIdleCallback on Android 2016-07-13 18:58:20 -07:00
react.js Update FBSource to use Flow 0.22 2016-03-08 12:39:29 -08:00