@pqina/react-native-pintura
v9.0.12
Published
Pintura Image Editor Components for use with React Native
Downloads
880
Readme
Pintura React Native Component
This package exports a Pintura WebView wrapper component to make it easier to use Pintura with React Native.
npm install @pqina/react-native-pinturaPost install the Pintura React Native component does two things:
- It creates a
pintura.htmlfile in the Pintura React Native npm package folder, this file is used as a WebView source. - It copies the
pintura.htmlfile to theandroid/app/src/main/assetsfolder so it can be loaded by Android, iOS doesn't require this step.
The install script can be run again by calling npm rebuild which is needed after updating @pqina/pintura or @pqina/pintura-video
Examples
React Native example projects:
- https://github.com/pqina/pintura-example-react-native
React Native Expo version of the component:
- https://github.com/pqina/pintura-component-react-native-expo/
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.
License
This projects uses a test version of Pintura. This version of Pintura will show a watermark in the editor and on generated images.
Purchase a license at https://pqina.nl/pintura to use Pintura in production.
Makes use of webm-duration-fix to fix webm video duration on Chrome
