jamesmontemagno / DeviceInfoPlugin

Device Information Plugin for Xamarin and Windows
Other
145 stars 44 forks source link

NotImplementedException #42

Closed AlexeyStarkov closed 6 years ago

AlexeyStarkov commented 6 years ago

Hello. Thank you for your plugins! I had added Xam.Plugin.DeviceInfo to PCL, Android and iOS projects (I don't use UWP in solution). When I try to get CrossDeviceInfo.Current.Id I have this exception in my Xamarin PCL Project: This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.

Bug Information

Version Number of Plugin: 3.0.2 Device Tested On: Samsung Galaxy A5 2017 Simulator Tested On: - Version of VS: 2017 Version of Xamarin: 2.5.0.121934 Versions of other things you are using:

AlexeyStarkov commented 6 years ago

I did Clean&Build android project and after them it works fine.