Open 4bSolutionsLLP opened 2 years ago
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; https://github.com/BestBurning/platform_device_id/pull/28
Let's hope the author sees it.
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?
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
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