mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-26 10:45:32 +08:00
Deploy 0.94 to xplat
Summary: Update Flow version in xplat (https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js) allow-large-files bypass-lint Reviewed By: nmote Differential Revision: D14317820 fbshipit-source-id: 07ec22c0745321db036f4e10a502009a4b640652
This commit is contained in:
committed by
Facebook Github Bot
parent
bc0bb2c88e
commit
35d2dfcabf
@@ -15,9 +15,6 @@ const RCTLocationObserver = require('NativeModules').LocationObserver;
|
||||
|
||||
const invariant = require('invariant');
|
||||
const logError = require('logError');
|
||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
||||
* run Flow. */
|
||||
const warning = require('fbjs/lib/warning');
|
||||
|
||||
const LocationEventEmitter = new NativeEventEmitter(RCTLocationObserver);
|
||||
@@ -48,11 +45,11 @@ type GeoOptions = {
|
||||
*/
|
||||
const Geolocation = {
|
||||
/*
|
||||
* Sets configuration options that will be used in all location requests.
|
||||
*
|
||||
* See https://facebook.github.io/react-native/docs/geolocation.html#setrnconfiguration
|
||||
*
|
||||
*/
|
||||
* Sets configuration options that will be used in all location requests.
|
||||
*
|
||||
* See https://facebook.github.io/react-native/docs/geolocation.html#setrnconfiguration
|
||||
*
|
||||
*/
|
||||
setRNConfiguration: function(config: GeoConfiguration) {
|
||||
if (RCTLocationObserver.setConfiguration) {
|
||||
RCTLocationObserver.setConfiguration(config);
|
||||
|
||||
Reference in New Issue
Block a user