Almoullim / background_location

Flutter background location plugin for Android and iOS
https://pub.dev/packages/background_location
Other
224 stars 236 forks source link

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

Closed EdisonJwa closed 3 years ago

EdisonJwa commented 3 years ago

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 commented 3 years ago

having the same issue

chirag-chopra commented 3 years ago

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

lukaskurz commented 3 years ago

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 commented 3 years ago

Same please fix issue

Alecckie commented 3 years ago

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 commented 3 years ago

Any Updates?

lukaskurz commented 3 years ago

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)