Skip to content

Conversation

@dcalhoun
Copy link
Member

@dcalhoun dcalhoun commented Nov 21, 2025

What?

Allow logging network activity occurring in the WebView.

Why?

Improve observability and debugging of editor network activity.

How?

  • Add an editor configuration option for toggling network logging.
  • Conditionally override global window.fetch to intercept network activity.
  • Add utility methods for communicating activity from JavaScript to native host apps.

Testing Instructions

  1. Run the demo app.
  2. Perform actions in the editor.
  3. Verify the network activity is logged in the Xcode/Android Studio IDE.

Accessibility Testing Instructions

N/A, no user-facing changes.

Screenshots or screencast

N/A, no user-facing changes.

@dcalhoun dcalhoun added the [Type] Task Issues or PRs that have been broken down into an individual action to take label Nov 21, 2025
@dcalhoun dcalhoun marked this pull request as ready for review November 21, 2025 21:35
@dcalhoun dcalhoun requested a review from jkmassel November 21, 2025 21:38
Make reading files easier, encountering high-level logic first before
the implementation details of helper utilities.
All requests were failing due to the blocking processing of the body.
The data structure for networking logging is incompatible with
`dispatchToBridge`.
The absence of these keys resulted in resetting the value to its default
when converting the configuration to a builder.
Avoid logging `[Object object]` string values.
@dcalhoun dcalhoun force-pushed the feat/log-network-activity branch from aa07850 to eac9a47 Compare November 24, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants