Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncTask has been deprecated #304

Closed
pishguy opened this issue Nov 10, 2022 · 3 comments
Closed

AsyncTask has been deprecated #304

pishguy opened this issue Nov 10, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@pishguy
Copy link

pishguy commented Nov 10, 2022

E:\develop\flutter\.pub-cache\hosted\pub.dartlang.org\contacts_service-0.6.3\android\src\main\java\flutter\plugins\contactsservice\contactsservice\ContactsServicePlugin.java:679: warning: [deprecation] onPostExecute(Result) in AsyncTask has been deprecated
    protected void onPostExecute(final byte[] avatar) {
                   ^
  where Result is a type-variable:
    Result extends Object declared in class AsyncTask
20 warnings
E:\develop\flutter\.pub-cache\hosted\pub.dartlang.org\contacts_service-0.6.3\android\src\main\java\flutter\plugins\contactsservice\contactsservice\ContactsServicePlugin.java:69: warning: [deprecation] Registrar
 in PluginRegistry has been deprecated
  private void initDelegateWithRegister(Registrar registrar) {
                                        ^
E:\develop\flutter\.pub-cache\hosted\pub.dartlang.org\contacts_service-0.6.3\android\src\main\java\flutter\plugins\contactsservice\contactsservice\ContactsServicePlugin.java:673: warning: [deprecation] doInBack
ground(Params...) in AsyncTask has been deprecated
    protected byte[] doInBackground(final Void... params) {
                     ^
  where Params,Result are type-variables:
    Params extends Object declared in class AsyncTask
    Result extends Object declared in class AsyncTask

information about android:

buildscript {
    ext.kotlin_version = '1.7.10'
    ext {
        compileSdkVersion = 30
        targetSdkVersion = 30
        appCompatVersion = "1.1.0"
    }
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//        classpath 'com.google.gms:google-services:4.3.14'
    }
}
@stale
Copy link

stale bot commented Jan 16, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 16, 2023
@lukasgit
Copy link
Owner

#309

@lukasgit lukasgit removed the wontfix This will not be worked on label Jan 20, 2023
@stale
Copy link

stale bot commented Mar 25, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Mar 25, 2023
@stale stale bot closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants