Blazorade-Teams
Blazorade-Teams copied to clipboard
TeamsApplication does not work on Android device
When you create a Teams application using the TeamsApplication
component, the application does not work on Android devices. The tab just shows the message in the below screenshot.
It seems that there is something "fishy" with this problem. The application initialization on Android devices fail when trying to get the Teams context. That call will never return to the Blazor application. The call to Initialize()
works though.
Continuing investigations...
This is probably because something on the Android device is blocking notifications. There are lots of reasons (apps like battery savers) for this. I would not consider this a Blazorade issue.
The thing is that if I simplify things, and create a page that uses Blazor JS interop directly on the page, I get it to work on Android devices too.
It actually is not directly an issue with Blazorade Teams, but the DotNetInstanceCallbackHandler
in Blazorade Core, which Blazorade Teams uses.