Example of using .NET 9 MAUI HybridWebView to access MAUI DeviceInfo and other native APIs to JavaScript.
- Expose .NET APIs to the webview, see
MainPage.xaml.cs - Access .NET APIs from JavaScript, see
NativeDeviceInfo.js - Display data from API in web content (
index.html), usingHybridWebviewviaMainPage.xaml
