Is there a way to get te serial number of the device (android) in Net Maui?
I tried with the namespace Microsoft.Maui.Devices.DeviceInfo but It doesn't have it. I used to get it in Xamarin.Forms with the nuget Xam.Plugin.DeviceInfo (DeviceInfoPlugin). Is there something similar in Net Maui?
No, you can't get the serial number of the device since android 10.0. The official document about the restriction on non-resettable device identifiers said:
And the
READ_PRIVILEGED_PHONE_STATEpermission is a system permission which can't be granted to the third party application.