Skip to content
pubscout

device_marketing_names

2.0.6, released 13 days ago by boehrsi.de

Lookup device marketing names for Android, iOS and browsers easily.

WASM-ready
$ flutter pub add device_marketing_names
Source repository

What it does

Maps device identifiers like 'iPhone13,4' or 'SM-G980F' to their user-friendly marketing names locally. It does not require an active internet connection or a remote database.

AI-written summary of version 2.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display user-friendly device names in analytics or settings
  • You want offline capability for mapping raw device hardware strings

Skip it when

  • You are targeting desktop platforms (Windows, Linux, macOS) which throw a PlatformException
  • You need deep hardware metrics beyond device info and naming

Strengths

  • Requires no internet connection or remote database
  • Supports Android, iOS, and web browsers with WASM support
  • Simple API for current device lookup or model-based lookup

Weaknesses

  • Does not support Windows, Linux, or macOS platforms
  • Depends on regular package updates to include newly released device models

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add the dependency to pubspec.yaml; relies on device_info_plus under the hood.

final deviceNames = DeviceMarketingNames();
final singleDeviceName = await deviceNames.getSingleName();

Alternatives

Packages that do the same job and could replace device_marketing_names.

Works with

Packages commonly used together with device_marketing_names: ones it builds on, ones built on it, and its own family.