flutter_foreground_service_plugin icon indicating copy to clipboard operation
flutter_foreground_service_plugin copied to clipboard

FlutterForegroundPlugin.java uses or overrides a deprecated API

Open boldt opened this issue 4 years ago • 3 comments

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

boldt avatar May 19 '21 14:05 boldt

+1

zmsp avatar Jun 18 '21 19:06 zmsp

+1

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

m-zaguette avatar Jul 30 '21 01:07 m-zaguette

Add this to pubspec under dependencies:

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

deepak-ariceum avatar Jul 22 '22 06:07 deepak-ariceum