Linking#getInitialURL()

getInitialURL() If the app launch was triggered by an app link, it will give the link url, otherwise it will give null NOTE: To support deep linking on Android, refer http://developer.android.com/training/app-indexing/deep-linking.html#handling-intents

Linking#constructor()

constructor()

Linking#canOpenURL()

canOpenURL(url) Determine whether or not an installed app can handle a given URL. NOTE: For web URLs, the protocol ("http://", "https://") must be set accordingly! NOTE: As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist or canOpenURL will always return false. @param URL the URL to open

Linking#addEventListener()

addEventListener(type, handler) Add a handler to Linking changes by listening to the url event type and providing the handler

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

LayoutAnimation.create()

static create(duration, type, creationProp) Helper for creating a config for configureNext.

LayoutAnimation.configureNext()

static configureNext(config, onAnimationDidEnd?) Schedules an animation to happen on the next layout. @param config Specifies animation properties: duration in milliseconds create, config for animating in new views (see Anim type) update, config for animating views that have been updated (see Anim type) @param onAnimationDidEnd Called when the animation finished. Only supported on iOS. @param onError Called on error. Only supported on iOS.

LayoutAnimation#Types

Types: CallExpression

LayoutAnimation#spring

spring: CallExpression

LayoutAnimation#Properties

Properties