Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_device_imei

Retrieve device IMEI on Android <10 or ANDROID_ID on newer, and UUID on iOS.

pub.devRemove
platform_device_id

Get unique device IDs across Android, iOS, Windows, Linux, macOS, and Web.

pub.devRemove
ScoresHealth58 (best)50
Maintenance22 (best)0
Quality96 (best)91
Popularity3871 (best)
Community64 (best)46
Compatibility100 (best)85
UsageDownloads (30 days)2.2k7.9k (best)
Likes24411 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars—92
MaintenanceLatest release0.0.5, 11 months ago (best)1.0.1, 6 years ago
Major versions in 12 months00
Contributors—2
Publisherpranilshah.indi1shuai.com
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies1 (best)6
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API, single method call.
  • Supports both Android and iOS with consistent behavior.
  • No build_runner or code generation required.
  • Supports a wide range of platforms: Android, iOS, Windows, Linux, macOS, and Web.
  • Simple and straightforward asynchronous API.
Weaknesses
  • Requires READ_PHONE_STATE permission on Android <10.
  • IMEI is not available on Android 10+; falls back to ANDROID_ID which may change on factory reset.
  • Relies on web UserAgent for web platforms, which may not be a stable hardware identifier.
  • Limited to fetching just the device ID without additional system metrics.
Warnings
  • Native setup
  • Native setup
flutter_device_imei vs platform_device_id: which Flutter package should you use? | pubscout