From 13438ce067bc6640d689a079995603eba9a140ac Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 9 Apr 2015 16:01:06 +0000 Subject: [PATCH] update website --- docs/geolocation.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/geolocation.html b/docs/geolocation.html index 26bf0a61f27..4a47f2e1048 100644 --- a/docs/geolocation.html +++ b/docs/geolocation.html @@ -1,8 +1,6 @@ -React Native | A framework for building native apps using React

Geolocation

/!\ ATTENTION /!\ -You need to add NSLocationWhenInUseUsageDescription key -in Info.plist to enable geolocation, otherwise it's going -to fail silently! -!/ !/

Geolocation follows the MDN specification: +React Native | A framework for building native apps using React

Geolocation

You need to include the NSLocationWhenInUseUsageDescription key +in Info.plist to enable geolocation. Geolocation is enabled by default +when you create a project with react-native init.

Geolocation follows the MDN specification: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation

Methods #

static getCurrentPosition(geo_success: Function, geo_error?: Function, geo_options?: Object) #

static watchPosition(success: Function, error?: Function, options?: Object) #

static clearWatch(watchID: number) #

static stopObserving() #

Edit on GitHubExamples #

/* eslint no-console: 0 */ 'use strict';