Skip to content

Fix Android compile against cores without the background-layer transparency local - #40

Merged
shanerbaner82 merged 1 commit into
mainfrom
fix/background-host-core-compat
Aug 4, 2026
Merged

Fix Android compile against cores without the background-layer transparency local#40
shanerbaner82 merged 1 commit into
mainfrom
fix/background-host-core-compat

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

What

#37's Android host hard-referenced LocalBackgroundLayerPresent, a composition local that only exists in the dev core (super-native-web) — not in the distributed core (mobile-air). Since plugin Kotlin compiles into the app module of every install, that single unresolved reference broke compileDebugKotlin for every app on mobile-ui dev-main + mobile-air dev-main, background layer used or not (first hit in a real app within hours of merging).

The host now renders the layer beneath content without providing the transparency signal, and carries a NOTE that plugin sources must not reference core symbols absent from cores the plugin installs into. The signal returns once the distributed core ships the local alongside the tabs-hosting work.

Verified: LocalBackgroundLayerPresent was the only cross-core symbol gap — every other symbol the #37/#38 plugin files reference (NativeRootHostRegistry on both platforms, NodeView(overrideModifier:), NativeRendererRegistry, sendTextChangeEvent) exists in mobile-air dev-main.

Follow-up

The structural fix (also noted on #37) is a core-version gate in the plugin manifest so install-time mismatches fail loudly instead of at Kotlin compile.

🤖 Generated with Claude Code

…transparency local

mobile-ui installs into apps running the distributed core, which does not
ship LocalBackgroundLayerPresent yet — the hard reference broke
compileDebugKotlin for every app with the plugin installed. The host
keeps rendering the layer beneath content; the transparency signal
returns when the distributed core ships the composition local with the
tabs-hosting work.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shanerbaner82
shanerbaner82 merged commit 5de3deb into main Aug 4, 2026
@shanerbaner82
shanerbaner82 deleted the fix/background-host-core-compat branch August 4, 2026 19:12
shanerbaner82 added a commit that referenced this pull request Aug 4, 2026
…287) (#41)

Re-provides LocalBackgroundLayerPresent around screen content now that
the distributed core ships the composition local and its tabs-Scaffold
consumption. Reverts the #40 stopgap.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant