@pqina/react-native-pintura
v9.0.11
Published
Pintura Image Editor Components for use with React Native
Downloads
410
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-pintura
Post install the Pintura React Native 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. - It copies the
pintura.html
file to theandroid/app/src/main/assets
folder 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