sameerkapps / SecureStorage

118 stars 32 forks source link

System.NotImplementedException #39

Closed emaddoma closed 6 years ago

emaddoma commented 6 years ago

Hello,

I'm just getting started with Xamarin, I'm making a PCL for both platforms and though iOS works perfectly, the same code on Android throws this error. I have the package added to both platforms. Am I missing something?

String deviceId = CrossSecureStorage.Current.GetValue("LHPEDeviceID", null); if(deviceId == null){ deviceId = Guid.NewGuid().ToString(); CrossSecureStorage.Current.SetValue("LHPEDeviceID", deviceId); }

emaddoma commented 6 years ago

Cleaning the project solved the problem.