Navigator#popToRoute()

popToRoute(route) Pop to a particular scene, as specified by its route. All scenes after it will be unmounted.

ViewPagerAndroid#onPageSelected

onPageSelected function This callback will be called once ViewPager finish navigating to selected page (when user swipes between pages). The event.nativeEvent object passed to this callback will have following fields: - position - index of page that has been selected

ScrollView#scrollsToTop

iosscrollsToTop bool When true, the scroll view scrolls to top when the status bar is tapped. The default value is true.

Clipboard.setString()

static setString(content) Set content of string type. You can use following code to set clipboard content _setContent() { Clipboard.setString('hello world'); } @param the content to be stored in the clipboard.

Linking#openURL()

openURL(url) Try to open the given url with any of the installed apps. You can use other URLs, like a location (e.g. "geo:37.484847,-122.148386"), a contact, or any other URL that can be opened with the installed apps. NOTE: This method will fail if the system doesn't know how to open the specified URL. If you're passing in a non-http(s) URL, it's best to check {@code canOpenURL} first. NOTE: For web URLs, the protocol ("http://", "https://") must be set accordingly!

TouchableNativeFeedback.SelectableBackgroundBorderless()

static SelectableBackgroundBorderless() Creates an object that represent android theme's default background for borderless selectable elements (?android:attr/selectableItemBackgroundBorderless). Available on android API level 21+.

TextInput#blurOnSubmit

blurOnSubmit bool If true, the text field will blur when submitted. The default value is true for single-line fields and false for multiline fields. Note that for multiline fields, setting blurOnSubmit to true means that pressing return will blur the field and trigger the onSubmitEditing event instead of inserting a newline into the field.

ShadowPropTypesIOS#shadowOffset

shadowOffset {width: number, height: number}

Text#accessible

accessible

Linking Libraries

Not every app uses all the native capabilities, and including the code to support all those features would impact the binary size... But we still want to make it easy to add these features whenever you need them. With that in mind we exposed many of these features as independent static libraries. For most of the libs it will be as simple as dragging two files, sometimes a third step will be necessary, but no more than that. All the libraries we ship with React Native live on the Libraries folde