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

Migrate to Android V2 embedding #17

Closed
hpoul opened this issue Aug 3, 2021 · 1 comment · Fixed by #18
Closed

Migrate to Android V2 embedding #17

hpoul opened this issue Aug 3, 2021 · 1 comment · Fixed by #18

Comments

@hpoul
Copy link
Contributor

hpoul commented Aug 3, 2021

With the latest flutter (dev) channel the following warning is shown. I guess it would be time to migrate to the new embedding apis.
If this project is still maintained i can try to create a PR?

Running "flutter pub get" in authpass...                         2,069ms
The plugin `flutter_windowmanager` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding.
Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.
hpoul added a commit to authpass/flutter_windowmanager that referenced this issue Aug 26, 2021
@pmundt
Copy link
Member

pmundt commented Aug 26, 2021

My apologies for the late reply, somehow I missed the notification for this and just got the one on the PR. Yes, it looks like with the newer versions we now have to update the embeddings. I'll take a look through the PR and cut a new release if everything checks out!

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

Successfully merging a pull request may close this issue.

2 participants