Forum General

Nunit test error in Rg.Plugins.Popup

Shiva799Shiva799 Member ✭✭

I get this error "You MUST install Rg.Plugins.Popup to each project and call Rg.Plugins.Popup.Popup.Init(); prior to using it" while PushPopupAsync() or PopPopupAsync().
Rg.Plugins.Popup.Init() is called in both the appdelegate and main activity. am i missing something?


  • JohnHJohnH GBMember ✭✭✭✭✭

    Are you expecting to be able to make calls to this during your unit tests?

    You should abstract all your dependencies (like this one) into interfaces that can be mocked during unit tests.

  • CharwakaCharwaka INMember ✭✭✭✭✭

    Check you CS.Proj once of android and iOS

Sign In or Register to comment.