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

warning about Android V2 embedding #42

Open
endmr11 opened this issue Jan 11, 2022 · 3 comments
Open

warning about Android V2 embedding #42

endmr11 opened this issue Jan 11, 2022 · 3 comments

Comments

@endmr11
Copy link

endmr11 commented Jan 11, 2022

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.

@ky1vstar
Copy link

@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)

@endmr11
Copy link
Author

endmr11 commented Jan 17, 2022

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

@ky1vstar
Copy link

ky1vstar commented Jan 17, 2022

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

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

2 participants