feat(ios): improve host integration, navigation, and canvas export - #266
feat(ios): improve host integration, navigation, and canvas export#266DavidWu109 wants to merge 17 commits into
Conversation
|
Thanks for the contribution and for the detailed validation provided in this PR. Two issues should be fixed before merging:
|
90559b0 to
26ec4f0
Compare
26ec4f0 to
853544e
Compare
853544e to
9121657
Compare
|
Thanks for the update—this P1 regression is introduced by the current PR because the new public custom-scheme API allows WebKit-handled schemes such as http and https, which can crash when registered. |
Summary
This PR groups the iOS host-integration work into focused commits while keeping one end-to-end review branch.
Host bridge integration
Host UI and URL integration
dimina://sdkorigin for SDK resourcesNavigation behavior
Canvas export
saveCanvasTempFilebridge used bycanvasToTempFilePathDesign notes
DMPApiHandler;DMPBaseApiHandlerprovides an explicit name-to-handler registry.DMPAppbefore launch.canIUseuse the current app registry..replaceis required for an intentional override.getMenuButtonBoundingClientRect.DMPPageRouteseparates page paths from query values before state updates, resource lookup, and WebView configuration.diminaanddifileschemes cannot be replaced.Validation
The simulator and host integration builds complete successfully. Existing upstream warnings remain unchanged.
Review note
This PR is intentionally kept as a Draft for joint review. Commits are split by responsibility so each concern can be reviewed independently before the PR is marked ready.