In my application, I need to get device Id. I use the following:
var DeviceId=Resolver.Resolve<IDevice>().Id;
Every things was normal when I set Target Android version
to Android 8.0 (API level 26 - Oreo) or lower versions. However, When I want to update my application, Google Play stipulated that the Target Android version
must be Android 9.0 (API level 28 - Pie). So when I change the Target Android version
I get unknown
value for device Id.
What is the problem?