Skip to content

Prototype remote image URLs

Context

An image node accepts only an uploaded asset. Feeds bound from /data need images by URL, such as {item.avatarUrl}.

Options

Not recorded.

Decision

Owner decision of 2026-10-31 (#14180):

  • image may take a url, including a data-bound one.
  • A URL image uses the same egress policy as request in its runtime. The overlay follows request, ProtoViewer sits behind its network switch and filter (image loads count as network), and the disposable app follows #14184 / #14289.
  • Only https is allowed outside dev flavors; cleartext only on loopback through adb reverse for fixtures.
  • An optional via: "host" lets the host fetch a static URL at show/patch time and upload it as a content-hash asset, so the device makes no network call.
  • Image fetches never send cookies or referrers. The host can see the URL, but it never appears in accessibility text, observe or events.

Consequences

PR #18600 implements the remote-image contract, validators and capability gate; #14181 tracks the feature. URL loading, host fetch-and-upload, caches, egress enforcement and image-state reporting remain runtime work.