3
Vote

Library crashing when used in Windows 8.1 project

description

After updating my Windows 8 project, which is using this library, to Windows 8.1, it no longer starts.

The library uses "WebView.put_AllowedScriptNotifyUris(IList value)" method, which is no longer present in Windows 8.1 WebView.

System.NotImplementedException: The method or operation is not implemented.
at Windows.UI.Xaml.Controls.WebView.put_AllowedScriptNotifyUris(IList value)
at DT.GoogleAnalytics.Metro.HostControl.InitializeWebView()
at DT.GoogleAnalytics.Metro.HostControl.OnApplyTemplate()

comments

AlexSorokoletov wrote Jul 25, 2013 at 10:05 AM

Hi, Necroman!
I've created a branch with 8.1 version of the source code. You can download it and build dll or include as a project (whatever you like).

What you need to do with your application project, is to modify blank.html and add ga.js file to the application.
Please see Changeset 86982 for details: https://w8ga.codeplex.com/SourceControl/changeset/86982