flutter-nordic-dfu icon indicating copy to clipboard operation
flutter-nordic-dfu copied to clipboard

warning about Android V2 embedding

Open endmr11 opened this issue 2 years ago • 3 comments

We are actively using this package. Can you please update? Thanks Log: To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.

endmr11 avatar Jan 11 '22 09:01 endmr11

@endmr11 specify either master branch or latest commit explicitly in your pubspec.yaml, because Android V2 embedding is already implement by author, but he didn't release a new version (see this issue)

ky1vstar avatar Jan 17 '22 12:01 ky1vstar

When I look at my pubspec.yaml file, this is the plugin detail I used: flutter_nordic_dfu: ^3.0.0

endmr11 avatar Jan 17 '22 13:01 endmr11

Add this:

dependency_overrides:
  flutter_nordic_dfu:
    git:
      url: https://github.com/fengqiangboy/flutter-nordic-dfu.git
      ref: fab9beb

or this:

dependency_overrides:
  flutter_nordic_dfu:
    git:
      url: https://github.com/fengqiangboy/flutter-nordic-dfu.git
      ref: master

ky1vstar avatar Jan 17 '22 13:01 ky1vstar