1

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

Honey Last
  • 255
  • 1
  • 3
  • 15

1 Answers1

0

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

Sujan Gainju
  • 4,273
  • 2
  • 14
  • 34