An open API service indexing awesome lists of open source software.

https://github.com/imgly/imgly-react-native

React Native base module for PhotoEditor and VideoEditor SDK
https://github.com/imgly/imgly-react-native

android image ios react-native video

Last synced: about 1 year ago
JSON representation

React Native base module for PhotoEditor and VideoEditor SDK

Awesome Lists containing this project

README

          



IMG.LY Logo




NPM version


Platform support


Twitter

# React Native plugin for IMG.LY SDK

A module containing the expo config plugin for the use with [`react-native-photoeditorsdk`](https://www.npmjs.com/package/react-native-photoeditorsdk) and [`react-native-videoeditorsdk`](https://www.npmjs.com/package/react-native-videoeditorsdk).

## Usage

**You only need to integrate this package once regardless of whether you are integrating `react-native-photoeditorsdk`, `react-native-videoeditorsdk` or both.**

In order to use this module with the Expo CLI you can make use of our integrated Expo config plugin:

1. Add our module to your Expo application:

```sh
expo install react-native-imglysdk
```

2. Inside your app's `app.json` or `app.config.js` add our config plugin:

```json
{
"plugins": ["react-native-imglysdk"]
}
```

If needed, you can also use a specific version of our native library for Android as well as define explicitly the included modules. By default, all modules for both PhotoEditor SDK and VideoEditor SDK are included. Furthermore, you can configure the `buildToolsVersion`, `minSdkVersion`, `compileSdkVersion`, `targetSdkVersion`, and `kotlinGradlePluginVersion`.

```json
{
"plugins": [
[
"react-native-imglysdk",
{
"android": {
"version": "10.4.1",
"modules": [
"ui:core",
"ui:transform",
"ui:filter",
"assets:filter-basic"
],
"buildToolsVersion": "31.0.0",
"minSdkVersion": "21",
"compileSdkVersion": "31",
"targetSdkVersion": "30",
"kotlinGradlePluginVersion": "1.5.32"
}
}
]
]
}
```

For further information on the available modules, please refer to step 4 of the respective React Native CLI guide for the [`react-native-photoeditorsdk`](https://www.github.com/imgly/pesdk-react-native/#android) and [`react-native-videoeditorsdk`](https://www.github.com/imgly/vesdk-react-native/#android) module.

3. The changes will be applied on `expo prebuild` or during the prebuild phase of `eas build`.

For further information on how to integrate Expo config plugins please also refer to the official [docs](https://docs.expo.dev/guides/config-plugins/#using-a-plugin-in-your-app).

## License Terms

Make sure you have a [commercial license](https://img.ly/pricing?utm_campaign=Projects&utm_source=Github&utm_medium=IMGLY&utm_content=React-Native) for PhotoEditor SDK and/or VideoEditor 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](https://support.img.ly) for bug reports or support requests. To request a commercial license, please use the [license request form](https://img.ly/pricing?utm_campaign=Projects&utm_source=Github&utm_medium=IMGLY&utm_content=React-Native) on our website.