Forum Libraries, Components, and Plugins

Toasts.Forms.Plugin exception in UWP

StefanAStefanA NLMember

I have installed the plugin in PCL and client projects. The constructor of MainPage is the following:

public MainPage()
{
    InitializeComponent();

    DependencyService.Register<ToastNotificatorImplementation>();
    ToastNotificatorImplementation.Init();

    LoadApplication(new MyApp.App());
}

Xamarin.Forms.Init() is called in App.xaml.cs which is before this. When ToastNotificatorImplementation.Init() is called I get the following exception:

Exception {"Unspecified error\r\n\r\nCannot locate resource from 'ms-appx:///FrameStyle.xaml'."} System.Exception {System.Runtime.InteropServices.COMException}

Is there a way to solve this problem?

Answers

  • pauljones.8159pauljones.8159 USMember

    any update on this? getting same issue here.

  • StefanAStefanA NLMember
    edited May 2016

    I couldn't find a fix, so I had to implement toasts myself using DependencyService.

Sign In or Register to comment.