getUniqueId static method

Future<String> getUniqueId()

Implementation

static Future<String> getUniqueId() async {
  if (Platform.isIOS) {
    IosDeviceInfo iosInfo = await InngageProperties.deviceInfo.iosInfo;
    return iosInfo.identifierForVendor!;
  } else {
    AndroidDeviceInfo androidInfo =
        await InngageProperties.deviceInfo.androidInfo;
    return androidInfo.id;
  }
}