Skip to content

Commit 9fcc73e

Browse files
committed
Sync changes
1 parent a646534 commit 9fcc73e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

website/versioned_docs/version-0.5/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ JavaScript thread performance suffers greatly when running in dev mode. This is
3838

3939
### Using `console.log` statements
4040

41-
When running a bundled app, these statements can cause a big bottleneck in the JavaScript thread. This includes calls from debugging libraries such as [redux-logger](https://github.com/evgenyrodionov/redux-logger), so make sure to remove them before bundling. You can also use this [babel plugin](https://babeljs.io/docs/plugins/transform-remove-console/) that removes all the `console.*` calls. You need to install it first with `npm i babel-plugin-transform-remove-console --save`, and then edit the `.babelrc` file under your project directory like this:
41+
When running a bundled app, these statements can cause a big bottleneck in the JavaScript thread. This includes calls from debugging libraries such as [redux-logger](https://github.com/evgenyrodionov/redux-logger), so make sure to remove them before bundling. You can also use this [babel plugin](https://babeljs.io/docs/plugins/transform-remove-console/) that removes all the `console.*` calls. You need to install it first with `npm i babel-plugin-transform-remove-console --save-dev`, and then edit the `.babelrc` file under your project directory like this:
4242

4343
```javascripton
4444
{

website/versioned_docs/version-0.5/running-on-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ A Mac is required in order to build your app for iOS devices. Alternatively, you
114114

115115
### 1. Plug in your device via USB
116116

117-
Connect your iOS device to your Mac using a USB to Lightning cable. Navigate to the `ios` folder in your project, then open the `.xcodeproj` file within it using Xcode.
117+
Connect your iOS device to your Mac using a USB to Lightning cable. Navigate to the `ios` folder in your project, then open the `.xcodeproj` file, or if you are using CocoaPods open `.xcworkspace`, within it using Xcode.
118118

119119
If this is your first time running an app on your iOS device, you may need to register your device for development. Open the **Product** menu from Xcode's menubar, then go to **Destination**. Look for and select your device from the list. Xcode will then register your device for development.
120120

website/versioned_docs/version-0.52/running-on-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ A Mac is required in order to build your app for iOS devices. Alternatively, you
114114

115115
### 1. Plug in your device via USB
116116

117-
Connect your iOS device to your Mac using a USB to Lightning cable. Navigate to the `ios` folder in your project, then open the `.xcodeproj` file within it using Xcode.
117+
Connect your iOS device to your Mac using a USB to Lightning cable. Navigate to the `ios` folder in your project, then open the `.xcodeproj` file, or if you are using CocoaPods open `.xcworkspace`, within it using Xcode.
118118

119119
If this is your first time running an app on your iOS device, you may need to register your device for development. Open the **Product** menu from Xcode's menubar, then go to **Destination**. Look for and select your device from the list. Xcode will then register your device for development.
120120

website/versioned_docs/version-0.56/geolocation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ Invokes the success callback once with the latest location info.
107107

108108
Supported options:
109109

110-
* `timeout` (ms)
111-
* `maximumAge` (ms) - Defaults to INFINITY.
112-
* `enableHighAccuracy` (bool) - On Android, if the location is cached this can return almost immediately, or it will request an update which might take a while.
110+
* `timeout` (ms) - Is a positive value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. Defaults to INFINITY.
111+
* `maximumAge` (ms) - Is a positive value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity the device will always return a cached position regardless of its age. Defaults to INFINITY.
112+
* `enableHighAccuracy` (bool) - Is a boolean representing if to use GPS or not. If set to true, a GPS position will be requested. If set to false, a WIFI location will be requested.
113113

114114
---
115115

@@ -131,11 +131,11 @@ Invokes the success callback whenever the location changes. Returns a `watchId`
131131

132132
Supported options:
133133

134-
* `timeout` (ms)
135-
* `maximumAge` (ms) - Defaults to INFINITY.
136-
* `enableHighAccuracy` (bool)
137-
* `distanceFilter` (m)
138-
* `useSignificantChanges` (bool)
134+
* `timeout` (ms) - Is a positive value representing the maximum length of time (in milliseconds) the device is allowed to take in order to return a position. Defaults to INFINITY.
135+
* `maximumAge` (ms) - Is a positive value indicating the maximum age in milliseconds of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position. If set to Infinity the device will always return a cached position regardless of its age. Defaults to INFINITY.
136+
* `enableHighAccuracy` (bool) - Is a boolean representing if to use GPS or not. If set to true, a GPS position will be requested. If set to false, a WIFI location will be requested.
137+
* `distanceFilter` (m) - The minimum distance from the previous location to exceed before returning a new location. Set to 0 to not filter locations. Defaults to 100m.
138+
* `useSignificantChanges` (bool) - Uses the battery-efficient native significant changes APIs to return locations. Locations will only be returned when the device detects a significant distance has been breached. Defaults to FALSE.
139139

140140
---
141141

website/versioned_docs/version-0.56/textinput.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ Determines which keyboard to open, e.g.`numeric`.
354354
The following values work across platforms:
355355

356356
* `default`
357+
* `number-pad`
358+
* `decimal-pad`
357359
* `numeric`
358360
* `email-address`
359361
* `phone-pad`
@@ -365,9 +367,7 @@ The following values work on iOS only:
365367
* `ascii-capable`
366368
* `numbers-and-punctuation`
367369
* `url`
368-
* `number-pad`
369370
* `name-phone-pad`
370-
* `decimal-pad`
371371
* `twitter`
372372
* `web-search`
373373

0 commit comments

Comments
 (0)