How do I get consistent Device ID using Unity and Flutter apps on same device ?,I want to get the consistent device unique identifier for android using Unity and Flutter.

In my unity project I am using SystemInfo.deviceUniqueIdentifier to get the same.

I my flutter project I am using ‘DeviceInfoPlugin’ to get the same:
final DeviceInfoPlugin deviceInfoPlugin = new DeviceInfoPlugin();
AndroidDeviceInfo build = await deviceInfoPlugin.androidInfo;
deviceIdentifier = build.androidId;

However both of them are returning me different ID’s on same devices.
Any suggestions on ho do I obtain a unique ID using Unity or Flutter.

Android: SystemInfo.deviceUniqueIdentifier always returns the md5 of ANDROID_ID. (See Settings.Secure  |  Android Developers).