Flutter Web UUID Unique Identifier

Viewed 174

How can I get UUID in Flutter Web. I need some unique identifier in order to keep record of devices useb by customer,my testing device,develeper device.

In android, I'm using device_info_plugin.

How can I get Unique identifier in Web?

Thanks in Advance

1 Answers

You can use platform_device_id to get the browser details.

For browser info, you can use it as

import 'package:platform_device_id/platform_device_id.dart';
String? deviceId = await PlatformDeviceId.getDeviceId;
print($deviceId);

OR

hare is the Answer to the approach to set a custom uuid for flutter web

Related