BestBurning / platform_device_id

flutter plugin to get device id
https://pub.dev/packages?q=platform_device_id
BSD 3-Clause "New" or "Revised" License
81 stars 203 forks source link

Get to the special characters on Windows platform #33

Closed Wyatex closed 1 year ago

Wyatex commented 1 year ago

Getting a UUID on the Windows platform gets the newline character.

D:\MyData\xxxxx>wmic csproduct get uuid
UUID
5D1DC14B-754E-4797-AFEA-4237AA0F7018

D:\MyData\xxxxx>

So I will get the string contains \r\n\r\n. This causes the program to run incorrectly, so can the library handle the problem?

ceeyang commented 1 year ago

image I have to same problem.

Wyatex commented 1 year ago

I guess you have to deal with it yourself. The author should no longer maintain this project.

ceeyang commented 1 year ago

Thanks very much, I had used the another package.

connerjson commented 1 year ago

Thanks very much, I had used the another package.

which package are you using now.

ceeyang commented 1 year ago

Thanks very much, I had used the another package.

which package are you using now.

device_info_plus