Skip to main content
PESDK/Flutter/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

The licenses should be located on a project level. We recommend putting them into the {PROJECT_ROOT}/assets/ folder. Pass the relative file path (based on the project root) without the extension to the unlockWithLicense function to unlock both iOS and Android:

try {
await PESDK.unlockWithLicense("assets/pesdk_license");
} catch (error) {
print("Failed to unlock PE.SDK with: $error.");
}