The following table lists the libraries that are currently supported by React Native for Vega as part of the @amazon-devices namespace. For installation and usage information, follow the link for each library. The version column in the table below contains the minimum compatible version you can use with React Native for Vega.
Additional higher-order profilers, as well as ReactNavigationPerformanceView built on top of vanilla PerformanceMeasureView with the addition of optimizations for React Navigation library.
To assist with porting your existing apps to Vega, Amazon has tested some of the most widely used JavaScript libraries for compatibility. To use these libraries, use the standard library documentation.
The polyfill blob functionality isn’t working properly in the Vega app due to an upstream issue in the library. Alternatively, you can use URL.CreateObjectURL functionality to allow URL creation from blob through createObjectURL(blob).In case you are using both react-native-url-polyfill and URL.CreateObjectURL, you must add the following code to your app to make it work.
import { URL as pURL } from 'react-native-url-polyfill'
A pure JavaScript package that works with regular React Native will likely work with React Native for Vega. Packages that don’t work with React Native for other platforms won’t work for React Native for Vega unless we’ve ported them. Any package that has native dependencies or executes code conditionally based on the platform will need to be ported to work in React Native for Vega. Packages that depend on modules and/or other artifacts from core React Native will work if the features they use are supported by React Native for Vega.