react-native-imglysdk

3.2.0 • Public • Published

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 and 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:

    expo install react-native-imglysdk
  2. Inside your app's app.json or app.config.js add our config plugin:

    {
      "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.

    {
      "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 and react-native-videoeditorsdk 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.

License Terms

Make sure you have a commercial license 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 for bug reports or support requests. To request a commercial license, please use the license request form on our website.

Package Sidebar

Install

npm i react-native-imglysdk

Homepage

www.img.ly

Weekly Downloads

2,119

Version

3.2.0

License

BSD-3-Clause

Unpacked Size

61.4 kB

Total Files

16

Last publish

Collaborators

  • leon_dud