You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've gotten it working but I had a couple of issues. They were:
In the readme, it says @using CurrentDevice but it should be @using BlazorCurrentDevice
I was using the service in two components. If I called the service twice to see if it's a mobile device or not, the first time it calls fine without issue. After that it throws an exception saying the key (Android) is already added. I got around this by only making the call once and then pusing the "IsMobileDevice" parameter through to the components I wanted.
Otherwise, looks like it's working well. Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I just switched to your library after using https://github.com/arivera12/BlazorCurrentDevice, because of arivera12/BlazorCurrentDevice#5.
I've gotten it working but I had a couple of issues. They were:
@using CurrentDevice
but it should be@using BlazorCurrentDevice
Otherwise, looks like it's working well. Thanks!
The text was updated successfully, but these errors were encountered: