This package exports a Pintura WebView wrapper component to make it easier to use Pintura with React Native Expo.
npm install @pqina/react-native-expo-pintura
Post install the Pintura React Native Expo component does two things:
- It creates a
pintura.html
file in the Pintura React Native npm package folder, this file is used as a WebView source.
The install script can be run again by calling npm rebuild
which is needed after updating @pqina/pintura
or @pqina/pintura-video
React Native Expo example projects:
- https://github.com/pqina/pintura-example-react-native-expo
- https://github.com/pqina/pintura-example-react-native-typescript-expo
Visit https://pqina.nl/pintura for more details.
Makes use of webm-duration-fix to fix webm video duration on Chrome