TextInput#clearButtonMode

iosclearButtonMode enum('never', 'while-editing', 'unless-editing', 'always') When the clear button should appear on the right side of the text view

ScrollView#automaticallyAdjustContentInsets

iosautomaticallyAdjustContentInsets bool Controls whether iOS should automatically adjust the content inset for scroll views that are placed behind a navigation bar or tab bar/ toolbar. The default value is true.

ScrollView#maximumZoomScale

iosmaximumZoomScale number The maximum allowed zoom scale. The default value is 1.0.

AsyncStorage.multiGet()

static multiGet(keys, callback?) multiGet invokes callback with an array of key-value pair arrays that matches the input format of multiSet. Returns a Promise object. multiGet(['k1', 'k2'], cb) -> cb([['k1', 'val1'], ['k2', 'val2']]) Example: AsyncStorage.getAllKeys((err, keys) => { AsyncStorage.multiGet(keys, (err, stores) => { stores.map((result, i, store) => { // get at each store's key/value so you can work with it let key = store[i][0]; let value = store

Integrating with Existing Apps

Since React makes no assumptions about the rest of your technology stack, it's easily embeddable within an existing non-React Native app. Requirements an existing, gradle-based Android app Node.js, see Getting Started for setup instructions Prepare your app In your app's build.gradle file add the React Native dependency: compile "com.facebook.react:react-native:+" // From node_modules In your project's build.gradle file add an entry for the local React Native maven directory: allprojects

PushNotificationIOS.removeEventListener()

static removeEventListener(type, handler) Removes the event listener. Do this in componentWillUnmount to prevent memory leaks

WebView#scalesPageToFit

scalesPageToFit bool Sets whether the webpage scales to fit the view and the user can change the scale.

TextInput#defaultValue

defaultValue string Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you don't want to deal with listening to events and updating the value prop to keep the controlled state in sync.

TouchableHighlight#onHideUnderlay

onHideUnderlay function Called immediately after the underlay is hidden

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