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

Could you please migrating the plugin to the V2 embedding #113

Closed
EdisonJwa opened this issue Aug 31, 2021 · 7 comments · Fixed by #118
Closed

Could you please migrating the plugin to the V2 embedding #113

EdisonJwa opened this issue Aug 31, 2021 · 7 comments · Fixed by #118

Comments

@EdisonJwa
Copy link

The plugin background_location 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.

@ozz-rjq
Copy link

ozz-rjq commented Sep 2, 2021

having the same issue

@chirag-chopra
Copy link

I am also facing the same issue... Please fix this at top priority

@lukaskurz
Copy link
Contributor

Same issue here, although it's just a build warning. I would try to migrate it myself and send a PR, but I have no idea how to get AndroidStudio and it's intellisense/autocompletion running in the android folder :( if someone can help me with this, I can give the migration a try.

@khanems
Copy link

khanems commented Sep 13, 2021

Same please fix issue

@Alecckie
Copy link

I am receiving the following 2 errors on RELEASE

  1. The plugin background_location use a deprecated version of the Android embedding.
    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.
  2. AAPT: error: attribute android:foregroundService
    Type not found

The plugin is perfect in debug mode but could they just update these to make it work in release mode kindly?

@nicks258
Copy link

Any Updates?

@lukaskurz
Copy link
Contributor

lukaskurz commented Sep 15, 2021

Currently trying to change this to v2 embedding in a fork, but this is my first time coding native stuff for flutter (also had to play around with the .idea files, since it did not want to load in android studio)

@Almoullim Almoullim linked a pull request Sep 28, 2021 that will close this issue
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.

7 participants