Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.41 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.41 KB

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 the android/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:

React Native Expo version of the component:

React Native Expo example projects:

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