Has anyone successfully integrated both Lotaris and an AdRotator, I am getting an unhandled exception thrown every time Lotaris returns control to the app.
Every time my license information is updated I call:
await App.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
AdRotator.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
else AdRotator.Visibility = Windows.UI.Xaml.Visibility.Visible;
AdRotator.IsEnabled = AdRotator.Visibility == Windows.UI.Xaml.Visibility.Visible;
The rotator throws an unhandled exception after control is returned to my app. This is my stack trace:
System.ArgumentException: The parameter is incorrect. target
at Windows.UI.Xaml.Media.Animation.Storyboard.SetTarget(Timeline timeline, DependencyObject target)
at AdRotatorWin8.AdRotatorControl.AdRotatorControl_Loaded(Object sender, RoutedEventArgs e)
Is there some fix I can do so my app won't crash consistently? I don't want to have to drop the AdRotator because of this.