webview_cookie_manager icon indicating copy to clipboard operation
webview_cookie_manager copied to clipboard

Gradle issue

Open delikaya opened this issue 2 years ago • 1 comments

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.

delikaya avatar Apr 02 '22 12:04 delikaya

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.

rekire avatar Dec 18 '22 20:12 rekire