plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: Package Migrating to V2 Embedding for device_info_plus

Open Mvhd opened this issue 2 years ago • 1 comments

Plugin

device_info_plus

Use case

Error message while running pub get

This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding. Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects The plugin device_info_plus requires your app to be migrated to the Android embedding v2. Follow the steps on https://flutter.dev/go/android-project-migration and re-run this command.

Proposal

As outline in the message above. Migrate the package to V2 embedding

Mvhd avatar Jul 31 '22 09:07 Mvhd

I thought we migrated already all packages to V2, thanks for reminding us!

miquelbeltran avatar Jul 31 '22 13:07 miquelbeltran

Can't reproduce, is this still valid?

Goddchen avatar Oct 01 '22 07:10 Goddchen

According to the changelog, this was done in 3.0.0, so marking it as invalid

Please @Mvhd open a complete bug report if it is not the case

miquelbeltran avatar Oct 01 '22 14:10 miquelbeltran

Hello, since I have added device_info_plus to my project, I have this same error when exectuing a pub get :
The plugin device_info_plus requires your app to be migrated to the Android embedding v2. Follow the steps on https://flutter.dev/go/android-project-migration and re-run this command.

I've followed the step in the link and my app was already migrated to the Android embedding v2. I'm using device_info_plus v8.1.0

[not sure it's a problem of device_info_plus, sorry if I posted in the wrong place]

jpsarda avatar Feb 13 '23 10:02 jpsarda