Using in Xamarin Forms
ruisilva450 opened this issue · comments
Hi,
I'm trying to get this library to work on an Xamarin Forms solution (targeting Android, iOS and UWP), but everytime I try OnetimePasswordSecret.FromAscii("1234567890")
I get this error:
This assembly should never be loaded at runtime, and should only be referenced from other portable
class libraries. Please ensure your application references a platform specific assembly.
at Yort.Otp.ExceptionHelper.ThrowYoureDoingItWrong () ...
Aaahh I saw what you did there 👍
However I didn't found a way to do it right :)
Nevermind, I forgot to load the library in every platform project. Maybe you should provide some more information and probably say that you support Xamarin.Forms