Awesome
<p align="center"> <a href="https://img.ly/photo-sdk?utm_campaign=Projects&utm_source=Github&utm_medium=PESDK&utm_content=React-Native-Demo"> <img src="https://img.ly/static/logos/PE.SDK_Logo.svg" alt="PhotoEditor SDK Logo"/> </a> </p> <p align="center"> <a href="https://npmjs.org/package/react-native-photoeditorsdk"> <img src="https://img.shields.io/npm/v/react-native-photoeditorsdk.svg" alt="NPM version"> </a> <a href="https://npmjs.org/package/react-native-photoeditorsdk"> <img src="https://img.shields.io/badge/platforms-android%20|%20ios-lightgrey.svg" alt="Platform support"> </a> <a href="http://twitter.com/PhotoEditorSDK"> <img src="https://img.shields.io/badge/twitter-@PhotoEditorSDK-blue.svg?style=flat" alt="Twitter"> </a> </p>PhotoEditor SDK React Native Example App
This project shows how to integrate PhotoEditor SDK into a React Native application with the React Native module for PhotoEditor SDK which is available via NPM as react-native-photoeditorsdk
.
Getting started
After cloning this repository, perform the following steps to run the example application:
# install
yarn install
cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step
# run
npx react-native run-ios
# or
npx react-native run-android
Unlock the SDK
PhotoEditor SDK is a product of img.ly GmbH. Without unlocking, the SDK is fully functional but a watermark is added on top of the image preview and any exported images.
In order to remove the watermark and to use PhotoEditor SDK within your app you'll need to request a license for each platform and load the license file(s) in your App.js
with the following single line of code that automatically resolves multiple license files via platform-specific file extensions:
PESDK.unlockWithLicense(require('./pesdk_license'));
PhotoEditor SDK for iOS & Android
The React Native module for PhotoEditor SDK includes a rich set of most commonly used configuration and customization options of PhotoEditor SDK for iOS and Android. The native frameworks provide fully customizable photo editors. Please refer to our documentation for more details.
Native customization for iOS is demonstrated in the AppDelegate
of the example application.
License Terms
Make sure you have a commercial license for PhotoEditor SDK before releasing your app. A commercial license is required for any app or service that has any form of monetization: This includes free apps with in-app purchases or ad supported applications. Please contact us if you want to purchase the commercial license.
Support and License
Use our service desk for bug reports or support requests. To request a commercial license, please use the license request form on our website.