jamesmontemagno / DeviceInfoPlugin

Device Information Plugin for Xamarin and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Input Needed] Rethink ID

jamesmontemagno opened this issue · comments

So, what do we want the ID to actually be? I described what they currently do in #22

Do we want other properties to be added as well for IDs?

I am looking at this: https://developer.android.com/reference/android/os/Build.html

Not sure how much is supported in iOS and Windows though

Hi. Thanks for your great work on this plugin. I just wanted to ask: if you were to update this plugin and even add new properties to identify device, would previous version of the plugin's generations of unique ID be different on than on new versions? So if unique ID for a device was 12345ABC using old plugin version, and you implemented something new like new properties, then the new plugin version would still have a unique ID of 12345ABC for the device or could it possibly generate something new like 54321CBA? Because its critical for my app that the generated id stays the same.

Also, does this plugin always return a value? Can it somehow return a null since for example on Android devices sometimes may not have Android.OS.Build.Serial give anything but a null value back.

Hello, I'm using this plugin and it's work very well, thanks James Montemagno for your precious work.

Now I need to retrieve device ID but I must be sure that it's a unique number for every different device. Can I be sure of this? (I need it on Android and iOS platforms)

You can not be sure of this to be honest and on Android/iOS they are a bit different. You should come up with something home baked until I rev it.

Apple and Android does not have any APIs to uniquely identify user device for privacy reasons.

Apple will reject your app you try to identify user devices, as @jamesmontemagno mentioned in the #22 identifierForVendor is recommended API in iOS

We can make use of ANDROID_ID Android devices, but it is not guaranteed to return same ID if user factory resets the device

IMPO, it's good idea not to change the existing implementation

Hi there. On UWP I got same ID on different mobile devices. It is correct to https://docs.microsoft.com/en-us/uwp/api/windows.system.profile.systemidentification. It is for publisher not for device...

commented

Hi all,
is this still under consideration? Currently I have a problem with Android. There are some devices (e.g. Wiko Lenny 3) which have a serial number "0123456789ABCDEF". As James explained in #22 , Serial Number is returned if it contains a value. So in current case it has a value, but it's useless as it's the same serial for ALL phones of this type. LG-X150 seems to be another one with "0123456789ABCDEF".
But currently it does not seem to be possible to retrieve th Android_ID instead of the serial number?