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

platform_device_id-1.0.1 depends on discontinued package: device_info #26

Open
4bSolutionsLLP opened this issue Mar 4, 2022 · 3 comments

Comments

@4bSolutionsLLP
Copy link

platform_device_id-1.0.1 depends on device_info, which has been discontinued - see: https://pub.dev/packages/device_info
and is replaced by device_info_plus: https://pub.dev/packages/device_info_plus

@ollyde
Copy link

ollyde commented May 28, 2022

For anyone else who needs to update. This will fix the build error fatal error: module 'device_info' not found for production releases.

For now you can use this inside the pubspec.yaml

platform_device_id:
    git:
      url: https://github.com/ollydixon/platform_device_id
      ref: master
      path: platform_device_id/

I've also created a pull request to fix it;
#28

Let's hope the author sees it.

@ecp-003
Copy link

ecp-003 commented Jul 11, 2022

I would like to clarify, since this plugin depends on device_info (now device-Info_plus), which removes AndroidId getter on device_info_plus: ^4.0.0. Will this affect this plugin's get the androidid function as well?

@wangbo4020
Copy link

For anyone else who needs to update. This will fix the build error fatal error: module 'device_info' not found for production releases.

For now you can use this inside the pubspec.yaml

platform_device_id:
    git:
      url: https://github.com/ollydixon/platform_device_id
      ref: master
      path: platform_device_id/

I've also created a pull request to fix it; #28

Let's hope the author sees it.

There is a new, separate https://pub.dev/packages/android_id for getting the correct androidId

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

4 participants