jamesmontemagno / DeviceInfoPlugin

Device Information Plugin for Xamarin and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeviceId changes after uninstalling and installing the app. IOs

filipeaugustosantos opened this issue · comments

DeviceId changes after you uninstall and install the application in IOs.
Is this a bug or am I doing something wrong?

string id = CrossDevice.Device.DeviceId;

I think that deviceid is a random guid created by plugin. it is not the ME of the device

Yup, this is how iOD does it: https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor

It changes it if you remove it as it is unique for your app. It should not be used as a stable ID