Skip to main content
PESDK/React Native/About

Licensing

Free Trial#

Our tech is modified to be used for testing purposes without a license key. To start testing just follow this Get Started guide and leave out the step of entering the commercial license keys. The editor will simply render a watermark over the preview and final results. And in case you need any technical assistance, make sure to reach out to us: https://img.ly/support. We’ll be glad to help.

License file#

Before using any components of PhotoEditor SDK, you have to unlock the SDK using your license key file. It is important that you set the license key before using any of the SDK classes.

The license is digitally signed so it can not be altered without becoming invalid. Once you retrieved the license file it can be used to unlock the view controller.

Unlocking the SDK#

Each platform requires a separate license file. Unlock PhotoEditor SDK with a single line of code for both platforms via platform-specific file extensions.

Rename your license files (where pesdk_license can be any filename of your choice):

  • Android license: pesdk_license.android
  • iOS license: pesdk_license.ios

Pass the file path without the extension to the unlockWithLicense function to unlock both iOS and Android:

const license = require("./pesdk_license");
try {
await PESDK.unlockWithLicense(license);
} catch (error) {
console.log(`Failed to unlock PE.SDK with error: ${error}.`);
}