webview_cookie_manager
webview_cookie_manager copied to clipboard
Gradle issue
Unfortunately, the following problem arises when running flutter build appbundle:
Note: /Users/XXX/.pub-cache/hosted/pub.dartlang.org/webview_cookie_manager-2.0.6/android/src/main/java/io/flutter/plugins/webview_cookie_manager/WebviewCookieManagerPlugin.java uses or overrides a deprecated API.
My Settings: Flutter: 2.10.4 ext.kotlin_version = '1.6.10' classpath 'com.android.tools.build:gradle:7.1.2'
compileSdkVersion 31 minSdkVersion 21 targetSdkVersion 30
compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 }
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
Is an update planned? Thank you in advanced.
Just general speaking without checking the actual code: There is nothing bad using deprecated APIs on legacy platforms. If you want to support all versions, you sometimes need to make such calls, since on those platforms those APIs are not deprecated and there is no alternative.