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

FlutterForegroundPlugin.java uses or overrides a deprecated API #32

Open
boldt opened this issue May 19, 2021 · 3 comments
Open

FlutterForegroundPlugin.java uses or overrides a deprecated API #32

boldt opened this issue May 19, 2021 · 3 comments

Comments

@boldt
Copy link

boldt commented May 19, 2021

Issue

We migrated to flutter 2.0. Now we're getting the following warning, while building our app:

Note: C:\Users\<USER>\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_foreground_plugin-0.8.0\android\src\main\java\changjoopark\com\flutter_foreground_plugin\FlutterForegroundPlugin.java uses or overrides a deprecated API.

Environment

  • flutter 2.2.0
  • flutter_foreground_plugin: 0.6.0 + 0.8.0
@zmsp
Copy link

zmsp commented Jun 18, 2021

+1

@m-zaguette
Copy link

m-zaguette commented Jul 30, 2021

+1

This error don't let build apk --release. Does anyone know how to make that please?

@deepak-ariceum
Copy link

deepak-ariceum commented Jul 22, 2022

Add this to pubspec under dependencies:

flutter_foreground_plugin:
    git:
      url: https://github.com/jja08111/flutter_foreground_service_plugin.git
      ref: 8a09c7b0aeb9d31204147fe6ee126c8a52471e3a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants