dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.21k stars 1.75k forks source link

Pack `HybridWebView` associated JS script as an embedded resource quite like `BlazorWebView` JS script #24730

Open egvijayanand opened 1 month ago

egvijayanand commented 1 month ago

Description

Pack HybridWebView associated JS script as an embedded resource quite like BlazorWebView JS script.

And standardize the name of the script file.

Public API Changes

Same approach followed for the BlazorWebView JS.

Intended Use-Case

This simplifies the distribution of script updates by just referencing them in the HTML page and updating the NuGet packages.

mattleibow commented 1 month ago

@Eilon thoughts?

Eilon commented 1 month ago

Yeah definitely something we want to do. The experimental version had it, but it's out of scope for right now.