Skip to content

feat(apple): add WebView bridge lifecycle - #1

Open
birdmanmandbir wants to merge 4 commits into
mainfrom
feat/webview-message-bridge
Open

feat(apple): add WebView bridge lifecycle#1
birdmanmandbir wants to merge 4 commits into
mainfrom
feat/webview-message-bridge

Conversation

@birdmanmandbir

@birdmanmandbir birdmanmandbir commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • expose the Apple WebView string bridge and external URL opening
  • detach the script handler, observer, and both JS references through one idempotent preparation path
  • observe the app-kit pre-teardown notification without adding an app-kit package dependency
  • preserve iOS behavior and guard all late native-to-JS delivery
  • add a test-only addon proving exactly-once deletion of real JS references

Required app-kit notification/runtime contract: tta-lab/bare-app-kit commit f206059.

Verification

  • npm test
  • npm run test:native-lifecycle
  • clean Darwin arm64 build
  • clean iOS arm64 simulator build
  • production addon contains no testing hooks

@birdmanmandbir birdmanmandbir changed the title feat: add WebView string message bridge feat(apple): add WebView bridge lifecycle Jul 28, 2026
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