APIs

Certain native functionalities are exposed as APIs. For example, datepicker is a component on iOS: DatePickerIOS. However, it's an API on Android: DatePickerAndroid.

Commonly Used APIs

Dimensions provides you the screen size.

AsyncStorage provides a LocalStorage style API for storage on the device.

InteractionManager allows you to register long-running work to be scheduled after any interactions/animations have completed.

PixelRatio class gives access to the device pixel density.

Polyfills

React Native provides native polyfills for the following APIs:

Last updated