Skip to main content

Migrating to version 3.1.0

A migration guide for version 3.1.0 of PhotoEditor SDK for Flutter.

Android integration#

With version 3.1.0 of the PhotoEditor SDK for Flutter, the integration of the native Android PE.SDK has changed. The new minimum Android PE.SDK version is 10.9.0 which requires Kotlin Symbol Processing (KSP). To migrate, please add the KSP plugin to your android/build.gradle and change the SDK version to 10.9.0:

buildscript {
dependencies {
+ classpath '' // Depending on your `kotlin_version` version.
+ classpath ''

The KSP version depends on the Kotlin version that you are using. In order to find the correct version, please visit the official KSP release page. For further information, please take a look at the integration guides.

Further, you need to do the following modification inside your android/app/build.gradle:

- imglyConfig {
+ IMGLY.configure {
modules {
include 'ui:text'
include 'ui:focus'