ScrollView#onScroll

onScroll function Fires at most once per frame during scrolling. The frequency of the events can be controlled using the scrollEventThrottle prop.

PushNotificationIOS.presentLocalNotification()

static presentLocalNotification(details) Schedules the localNotification for immediate presentation. details is an object containing: alertBody : The message displayed in the notification alert. alertAction : The "action" displayed beneath an actionable notification. Defaults to "view"; soundName : The sound played when the notification is fired (optional). category : The category of this notification, required for actionable notifications (optional). userInfo : An optional object conta

TextInput#autoCorrect

autoCorrect bool If false, disables auto-correct. The default value is true.

TouchableWithoutFeedback#accessibilityComponentType

accessibilityComponentType View.AccessibilityComponentType

ProgressViewIOS#progressTintColor

progressTintColor string The tint color of the progress bar itself.

Alert.alert()

static alert(title, message?, buttons?, type?)

ToolbarAndroid#testID

testID string Used to locate this view in end-to-end tests.

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