fluttercandies / flutter_image_editor

Flutter plugin, support android/ios.Support crop, flip, rotate, color martix, mix image, add text. merge multi images.
Apache License 2.0
419 stars 129 forks source link

[Feature request] Support Android 15 #140

Open Tom3652 opened 2 weeks ago

Tom3652 commented 2 weeks ago

Platforms

Android

Description

When i build using targetSdkVersion 35 or compileSdkVersion 35 to support android 15, i have the following error :

e: file:///Users/foxtom/.pub-cache/hosted/pub.dev/image_editor_common-1.1.2/android/src/main/kotlin/com/fluttercandies/image_editor/core/HandleExtension.kt:10:56 Argument type mismatch: actual type is 'android.graphics.Bitmap.Config?', but 'android.graphics.Bitmap.Config' was expected.

Why

It would be nice to already start now supporting the latest android APIs, for android 15 especially.

CaiJingLong commented 6 hours ago

Try to use image_editor: 1.6.0

Tom3652 commented 5 hours ago

Thank you this is working fine !