Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The react-native-screens library exposes native navigation container components to React Native. This library isn’t a standalone library, but it’s a dependency of a full-featured navigation library.

Installation

  1. Add the dependency in the package.json file:
  2. Reinstall npm packages using the npm install command.

Examples

API reference

Components

React Native for Vega uses react-native-screens to add support for native screens and supports the same APIs as react-native-screens APIs. iOS, Android, and Windows-specific props aren’t supported.

Disabling react-native-screens

To disable native screens support and use plain React Native Views, add the following code in your entry file (App.js):

Known issues and limitations

The following component props aren’t supported (most are iOS/Android specific):
  • customAnimationOnSwipe
  • fullScreenSwipeEnabled
  • gestureEnabled
  • gestureResponseDistance
  • hideKeyboardOnSwipe
  • homeIndicatorHidden
  • nativeBackButtonDismissalEnabled
  • navigationBarColor
  • navigationBarHidden
  • onHeaderBackButtonClicked
  • onNativeDismissCancelled
  • preventNativeDismiss
  • replaceAnimation
  • screenOrientation
  • sheetAllowedDetents
  • sheetExpandsWhenScrolledToEdge
  • sheetCornerRadius
  • sheetGrabberVisible
  • sheetLargestUndimmedDetent
  • stackAnimation (only fade animation is supported)
  • stackPresentation
  • statusBarAnimation
  • statusBarColor
  • statusBarHidden
  • statusBarStyle
  • statusBarTranslucent
  • swipeDirection
  • transitionDuration
  • and other header components (, ScreenStackHeaderRightView, , ) aren’t supported

Supported versions

Supported Third-Party Libraries and Services.
Last modified on September 30, 2025