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

获取 Android Id

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add device_android_id

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

dependencies:
  device_android_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:device_android_id/device_android_id.dart';
1
likes
130
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

获取 Android Id

Documentation

API reference

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_android_id

Packages that implement device_android_id