Native Modules

Sometimes an app needs access to a platform API that React Native doesn't have a corresponding module for yet. Maybe you want to reuse some existing Java code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions. We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a more advanced f

Native Modules

Sometimes an app needs access to platform API, and React Native doesn't have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions. We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a

Modal#visible

visible bool

Modal#transparent

transparent bool

Modal#onShow

onShow function

Modal#onRequestClose

onRequestClose Platform.OS === 'android' ? PropTypes.func.isRequired : PropTypes.func

Modal#animationType

animationType enum('none', 'slide', 'fade')

Modal#animated

animated bool Deprecated Use the animationType prop instead.

MapView#zoomEnabled

zoomEnabled bool If false the user won't be able to pinch/zoom the map. Default value is true.

MapView#style

style View#style Used to style and layout the MapView. See StyleSheet.js and ViewStylePropTypes.js for more info.