Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to get the serial number for a device with android 10 (API level 29)?

$
0
0

Hello,

As you can read here, https://developer.android.com/reference/android/os/Build#getSerial(),
from API level 29 and after, asking for the device's serial number throws an exception.

Is there a way to get the serial number from a device regardless of its API level?

Or is there a unique identifier of the device, that he will remain forever the same, and that its available to the user and to me (by code)??
I want the user to give me the identifier so I can register the device manually, but after that I want to read the identifier for the code...

My app maybe installed to user's personal phones so I do not want anything special like profile owner or root apps or stuff like that...

Thanks!!!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>