UI for Blazor in Hybrid Apps Specifics
This article outlines the specifics that can arise when configuring Maui apps to use the Telerik UI for Blazor components.
Notes
- The hybrid MAUI Blazor apps allow using browser developer tools. Learn how to enable and use them...
- The Blazor web app code cannot make calls to native APIs. This feature is yet to be exposed by the framework. At the moment, you have to write your own calls to services and native app code that you need to explicitly expose.
Known Issues
- Running MAUI apps may require developer mode to be enabled.
- You can’t currently run the app for iOS or Mac Catalyst from a Windows development environment.
-
iOS requires ahead-of-time compilation. Attempts for just-in-time (JIT) compilation may trigger errors similar to
Attempting to JIT compile method '...' while running in aot-only mode
or
Could not AOT the assembly ...
.Check Introducing Xamarin iOS Interpreter and Could not AOT Assembly on StackOverflow. Add the
Telerik.UI.for.Blazor
assembly to anMtouchExtraArgs
tag for the iOS Release configuration in the project file:<PropertyGroup> <UseInterpreter>true</UseInterpreter> <MtouchExtraArgs>--linkskip=Telerik.UI.for.Blazor</MtouchExtraArgs> </PropertyGroup>