Native ID
Flutter unique identifier plugin for android and ios.
Get current device unique id from within the flutter application.
Warning: In
android
, this plugin use theANDROID_ID
that can be change by user for the rooted device.
Installation 💻
❗ In order to start using native_id
you must have the Flutter SDK installed on your machine.
Add native_id
to your pubspec.yaml
:
Install it:
Usage
Import import 'package:native_id/native_id.dart';
, instantiate NativeId
and use the getId()
or getUUID()
methods.
Example: