Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Android Device ID=0 because Serial Number is 0 #35

Closed
pabloalbanese opened this issue Oct 20, 2017 · 1 comment
Closed

Android Device ID=0 because Serial Number is 0 #35

pabloalbanese opened this issue Oct 20, 2017 · 1 comment

Comments

@pabloalbanese
Copy link

Bug Information

Version Number of Plugin: 3.0.1
Device Tested On: Android 5.1 Model N501
Version of VS: 2015 Update 3
Version of Xamarin: 4.7.9.45
Versions of other things you are using: Xamarin.Adroid 7.4.5.1

Steps to reproduce the Behavior

When the Serial Number of the Android phone is zero CrossDeviceInfo.Current.Id returns 0

Expected Behavior

Checking the code I see that if the Serial Number is Unknown then try to get the android id. I think the best behaviour would be that in case of Serial Number 0 try to get the android id too.

Screenshotst

Case with Serial Number cero.

skp_20171020_122217_1371221794328

@jamesmontemagno
Copy link
Owner

try the most recent pre-release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants