mobile_device_id 0.0.1 copy "mobile_device_id: ^0.0.1" to clipboard
mobile_device_id: ^0.0.1 copied to clipboard

Flutter package to obtain unique ID from mobile device (android / ios)

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mobile_device_id

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mobile_device_id: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mobile_device_id/mobile_device_id.dart';
0
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to obtain unique ID from mobile device (android / ios)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on mobile_device_id

Packages that implement mobile_device_id