Feature Request
Description
Since Bionic seems to be dead and hasn't been updated, it would be nice to see documentation and maybe even a simple js script that enables a few things on Blazor.
I've been able to get Blazor running in capacitor for android, electron, pwa (and I think ios but that's more difficult to test) by hacking away at Android files. It would be nice if this was formalized into complete documentation.
The biggest issue that I've had is the authentication functionality in Blazor Wasm. It of course works one web, but I can't come up with any process that allows the authentication system to work properly. I can get it to redirect back to a custom URL but I can't get it to reliably then pass through to blazor for handling. If this functionality was enablable, there would a signficant win and we'd be close to a complete blazor solution with minimal extra code to do.
Here's some of what I've found:
Android settings in capacitor.config.json needs an option where you can specify either that it's a blazor app, or that underscores need to be allowed in assets (I assume just making this the default might break some stuff but I don't know how, so if making it the default works, that would be a good thing)
Blazor itself needs a publish to folder profile setup in visual studio or vs code that publishes to a folder than capacitor is using. IN that you need to add the following under the property group:
<BlazorEnableCompression>false</BlazorEnableCompression>
<BlazorWebAssemblyEnableLinking>false</BlazorWebAssemblyEnableLinking>
Blazor should be updated (and I have yet to figure out how) to call npx cap sync automatically on publish.
And then blazor needs some sort of stub functionality (perhaps a nuget package for Capacitor.Blazor?) that adds the javascript and hooks on load/url that properly passes the response from your OpenIdConnect IdP back into Blazor from the custom schema handler.
If this was done, we would have a basically working blazor environment.
The only other thing that I think needs to be worked on is getting the electron side to do refreshes properly.
I haven't tested iOS heavily but presumably the same OpenIdConnect/Authentication issue exists there and needs to be handled properly.
Presumably this would be broken into separate issues based on each of the points above, but I wanted to capture the full request here.
Platform(s)
Blazor
Android
Electron
Additional Context
Blazor WASM Authentication