View#onStartShouldSetResponderCapture

onStartShouldSetResponderCapture function

View#onResponderReject

onResponderReject function

Animated#constructor()

constructor(value)

Native UI Components

There are tons of native UI widgets out there ready to be used in the latest apps - some of them are part of the platform, others are available as third-party libraries, and still more might be in use in your very own portfolio. React Native has several of the most critical platform components already wrapped, like ScrollView and TextInput, but not all of them, and certainly not ones you might have written yourself for a previous app. Fortunately, it's quite easy to wrap up these existing compo

Integrating with Existing Apps

Since React makes no assumptions about the rest of your technology stack – it’s commonly noted as simply the V in MVC – it’s easily embeddable within an existing non-React Native app. In fact, it integrates with other best practice community tools like CocoaPods. Requirements CocoaPods – gem install cocoapods Node.jsInstall nvm with its setup instructions here. Then run nvm install node && nvm alias default node, which installs the latest version of Node.js and sets up your termina

BackAndroid.addEventListener()

static addEventListener(eventName, handler)

TextInput#selectionColor

selectionColor string The highlight (and cursor on ios) color of the text input

Native Modules

Sometimes an app needs access to platform API, and React Native doesn't have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions. We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a

Known Issues

Devtools "React" Tab Does Not Work It's currently not possible to use the "React" tab in the devtools to inspect app widgets. This is due to a change in how the application scripts are evaluated in the devtools plugin; they are now run inside a Web Worker, and the plugin is unaware of this and so unable to communicate properly with React Native. However, you can still use the Console feature of the devtools, and debugging JavaScript with breakpoints works too. To use the console, make sure to

MapView#pitchEnabled

pitchEnabled bool When this property is set to true and a valid camera is associated with the map, the camera’s pitch angle is used to tilt the plane of the map. When this property is set to false, the camera’s pitch angle is ignored and the map is always displayed as if the user is looking straight down onto it.