MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Feature]: Add WebResourceRequested and WebResourceResponseReceived events To Microsoft.MixedReality.WebView (Unity Package)

Open
#4,854 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Describe the feature/enhancement you need

The webview2-unity-plugin (Microsoft.MixedReality.WebView) only exposes a subset of the functionality that's available via CoreWebView2.
Please add WebResourceRequested & WebResourceResponseReceived

The scenario/use case where you would use this feature

I need to override some urls to instead use local resources and avoid CORS policy errors. We are using this solution for other platforms so redoing the original implementation will not happen.

How important is this request to you?

Critical. My app's basic functions wouldn't work without it.

Suggested implementation

No response

What does your app do? Is there a pending deadline for this request?

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the webview2-unity-plugin, Microsoft.MixedReality.WebView, and CoreWebView2 documentation but no repository files or tests. Start by tracing how the Unity package exposes existing WebView2 functionality, then add the WebResourceRequested and WebResourceResponseReceived events. Done means consumers can use these events to override resource URLs and address the stated CORS scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.