Skip to content

fix(shared): the Point picker answers over the React Native bridge in any mode - #1016

Merged
edgar-durand merged 1 commit into
mainfrom
fix/shared-point-picker-webview
Nov 1, 2026
Merged

edgar-durand merged 1 commit into
mainfrom
fix/shared-point-picker-webview

Conversation

@edgar-durand

@edgar-durand edgar-durand commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Remix's phone app drives the picker inside a WebView (window.parent === window, replies read from ReactNativeWebView.postMessage). send() dropped every reply of a top-level document unless the console-only globalName door was configured, so the phone never saw on nor pick and Point at it timed out as unavailable (owner 2026-11-01). A parent window still comes first; only a top-level document falls back to the bridge; the control API still needs globalName. Test added.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

… any mode

Remix's phone app drives the picker inside a WebView: the document is top-level
(window.parent === window) and the host reads ReactNativeWebView.postMessage.
send() dropped every reply of such a document unless the console-only globalName
door was configured, so the phone never saw 'on' nor 'pick' and Point at it
timed out as unavailable. A parent window still comes first; only a top-level
document falls back to the bridge. The control API still needs globalName.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@edgar-durand
edgar-durand merged commit 110a432 into main Nov 1, 2026
9 checks passed
@edgar-durand
edgar-durand deleted the fix/shared-point-picker-webview branch November 1, 2026 21:29
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.

2 participants