kinwahlai / pesdk-react-native-demo

React Native binding demo for PhotoEditor SDK iOS and Android

Home Page:https://www.photoeditorsdk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhotoEditor SDK React Native Demo

This project shows how to easily integrate the PhotoEditor SDK into a React Native application.

THIS IS A DEMO. This repository is not meant as a fully fledged React Native plugin, but as a base for further development instead. For more details, check the accompanying blog post.

Example App

The included example app demonstrates how to open the PhotoEditor SDK's editor with an image that has previously been downloaded using React Native. Upon closing the editor, the edited image is returned to React Native and may be processed further, presented ot the user etc. This demo simply shows an alert to give you a hint on how to move on.

Use React Natives react-native run-ios and run-android to launch the emulators.

Note

The PhotoEditor SDK is a product of 9elements GmbH. To use the PhotoEditor SDK within your app you'll need to load a license file:

// iOS
PESDK.unlockWithLicense(at: licenseURL)
// Android
PESDK.init(this, "LICENSE_FILENAME")

You'll need to order a license and refer to our documentation for more details. Please see LICENSE.md for licensing details.

As the Android SDK links different modules depending on your configuration, we're providing a Gradle plugin which needs to be added to your Android project. To prepare this, you'll have to add the following lines to your projects .gradle file (android/build.gradle):

buildscript {
    repositories {
        // ...
        maven { url "https://artifactory.9elements.com/artifactory/imgly" }
    }
    dependencies {
        // ...
        classpath 'ly.img.android.pesdk:plugin:6.0.0'
    }
}

allprojects {
    repositories {
        // ...
        maven { url "https://artifactory.9elements.com/artifactory/imgly" }
    }
    // ...
}

PhotoEditor SDK for iOS & Android

The PhotoEditor SDK for iOS and Android are fully customizable photo editors which you can integrate into your React Native app within minutes.

License

Please see LICENSE for licensing details.

Authors and Contributors

Made 2013-2017 by @9elements

Support or Contact

Use our service desk for bug reports or support requests. To request a commercial license, please use the license request form on our website.

About

React Native binding demo for PhotoEditor SDK iOS and Android

https://www.photoeditorsdk.com

License:Other


Languages

Language:Java 39.4%Language:Objective-C 29.8%Language:JavaScript 23.4%Language:Python 7.4%