I was using hockeyapp successfully in android and ios when I now try to use it uwp application on emulator and local win10 machine. It throws as exception for missing " 'Windows.System.Profile.HardwareIdentification'.":"Windows.System.Profile.HardwareIdentification""
my UWP version is as below
my application is an xamarin.forms application. here is what I installed
- XF proj: HockeySDK.Xamarin, HockeySDK.Core
- UWP proj: HockeySDK.Core, HockeySDK.UWP
In the constructor of MainPage.xaml.cs in UWP project I have added
Microsoft.HockeyApp.HockeyClient.Current.Configure(HockeyAppID);
in XF project within try catch functions I fire TrackException as below
catch (Exception ex)
{
Dictionary<string, string> properties = new Dictionary<string, string>();
properties.Add(key, value);
Microsoft.HockeyApp.HockeyClient.Current.TrackException(ex, properties);
}
when I search for it, I only find posts like this one which shows how to get HardwareIdentification but I thought hockeyapp should fetch it for me and it does on android. what is wrong with UWP? Do I have to do it myself if yes where should I pass this information? Or could be that something is wrong with my win10 installation :)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…