Blazor Hybrid .NET8 Breaks DialogService

I'm trying to migrate my .NET6 Blazor Hybrid app to .NET8 and it looks like I've been caught out by the changes to rendermode in .NET8 and Radzen interactivitiy.

This app works perfectly in NET6, with the set up as per Radzen docs, including placement of in main layouy and inclusion of the Radzen js in index.html.

When I run the app with no changes, the first error I get is this one:

Claiming it can't find the opendialog function. If this was a web app, I can fix this by setting @rendermode to interactive server, however in Blazor Hybrid there is no render mode. So the solution outlined here https://forum.radzen.com/t/dialog-and-net8-0/15738/1 cannot be applied to a hybrid app (causes a compile error).

Does anyone know of a workaround?

Can you post where you’ve declared the required Radzen.Blazor.js script? Should be below WebView script:

<script src="_framework/blazor.webview.js" autostart="false"></script>

Yes, I can confirm it is below blazor.webview.js - however I don't manually start blazor with autostart=false. I've tried manual but get the same result. Is there a way to manually start Radzen to make sure the dialogservice loads?

If the script is there I’m afraid that I don’t have any other ideas - this is where this function is defined and if the script is loaded properly there should be no problems.