TextInput#onSubmitEditing

onSubmitEditing function Callback that is called when the text input's submit button is pressed. Invalid if multiline={true} is specified.

DrawerLayoutAndroid#drawerWidth

drawerWidth number Specifies the width of the drawer, more precisely the width of the view that be pulled in from the edge of the window.

Navigator#popToTop()

popToTop() Pop to the first scene in the stack, unmounting every other scene.

ToolbarAndroid#navIcon

navIcon optionalImageSource Sets the navigation icon.

Slider#testID

testID string Used to locate this view in UI automation tests.

DrawerLayoutAndroid#onDrawerStateChanged

onDrawerStateChanged function Function called when the drawer state has changed. The drawer can be in 3 states: - idle, meaning there is no interaction with the navigation view happening at the time - dragging, meaning there is currently an interaction with the navigation view - settling, meaning that there was an interaction with the navigation view, and the navigation view is now finishing its closing or opening animation

Debugging

Debugging React Native Apps To access the in-app developer menu: On iOS shake the device or press control + ⌘ + z in the simulator. On Android shake the device or press hardware menu button (available on older devices and in most of the emulators, e.g. in genymotion you can press ⌘ + m or F2 to simulate hardware menu button click). You can also install Frappé, a tool for OS X, which allows you to emulate shaking of devices remotely. You can use ⌘ + Shift + R as a shortcut to trigger a shake f

ListView#onEndReachedThreshold

onEndReachedThreshold number Threshold in pixels (virtual, not physical) for calling onEndReached.

InteractionManager.runAfterInteractions()

static runAfterInteractions(task) Schedule a function to run after all interactions have completed.

Building React Native from source

You will need to build React Native from source if you want to work on a new feature/bug fix, try out the latest features which are not released yet, or maintain your own fork with patches that cannot be merged to the core. Prerequisites Assuming you have the Android SDK installed, run android to open the Android SDK Manager. Make sure you have the following installed: Android SDK version 23 (compileSdkVersion in build.gradle) SDK build tools version 23.0.1 (buildToolsVersion in build.gradle)