A walkthrough of embedding an Angular web app inside a cross-platform .NET native app using Uno Platform. The approach uses WebView2 to render the Angular app's static build output (HTML, CSS, JS) within a native container on iOS, Android, Windows, and macOS. A JavaScript-to-C# interop bridge allows the Angular/TypeScript code to call native .NET APIs for device information such as orientation, display dimensions, accelerometer, geolocation, and more. The demo shows building the Angular app with the CLI, copying the static output into the Uno Platform project as a bundled resource, and using the JS interop to invoke C# methods from TypeScript.
•14m watch time
Sort: