device_marketing_names 0.2.0 copy "device_marketing_names: ^0.2.0" to clipboard
device_marketing_names: ^0.2.0 copied to clipboard

outdated

Lookup device marketing names for Android, iOS and browsers with ease. No internet connection or database required.

Device Names #

A simple device name lookup package. Map e.g. 'iPhone13,4' to 'iPhone 12 Pro Max' or 'SM-G980F' to 'Galaxy S20'. No internet connection or database required.

Features #

  • Lookup Android marketing names
  • Lookup iOS (iPhone & iPad) marketing names
  • Lookup web browser names
  • Relies on device_info_plus to get the current device model information on Android or iOS and device_identifiers which maps those to the marketing names. The browser name is forwarded directly from device_info_plus
  • Get the marketing name of the current device or by an already known Android or iOS model

Usage #

Getting Started #

Add this to your package's pubspec.yaml file:

dependencies:
  device_marketing_names: ^0.2.0

More information on pub.dev.

Examples #

For full examples please see the example app.


final deviceNames = DeviceMarketingNames();
final deviceName = await
deviceNames.getMarketingName();

final deviceNameFromModel = deviceNames.getMarketingNameFromModel(DeviceType.android, "ONEPLUS A5010");

How to contribute #

If you are interested in contributing, please have a look into the contribution guide. Every idea, bug report or line of code is heavily appreciated.

21
likes
0
pub points
91%
popularity

Publisher

verified publisherboehrsi.de

Lookup device marketing names for Android, iOS and browsers with ease. No internet connection or database required.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

device_info_plus, flutter

More

Packages that depend on device_marketing_names