ReviewOS

also looking at this

craft-native/craft

fix(ios): hand a cold-start link to the page that subscribes for it

#216
Merged glennmichael123 wants to merge fix/ios-cold-start-deep-links into main
8 files +361 -19
.github/workflows/README.mdmodified+7-0
Changes to .github/workflows/README.md
@@ -34,6 +34,13 @@ ok ios-shim — 6/6 cases, no zig
3434ok ios-runtime — 6/6 cases, zig served checkPermission, clipboardRead, clipboardWrite, getCurrentPosition, getDeviceInfo, log, requestPermission, share
3535```
3636
37After the suite, each leg cold-starts the app through a link twice, from an
38XCUITest (`scripts/mobile-e2e/ios-uitests`). Only a UI test can answer the
39"Open in …?" prompt iOS shows for a custom scheme, and read the page back from
40an app SpringBoard launched, since that app has no console. One page only
41subscribes to `onLink`, seconds late, and must be handed the launch link once.
42The other also calls `getInitialURL`, and must not get the link twice.
43
3744Before launch the harness grants the app location permission with
3845`simctl privacy` and puts the simulator at a fixed coordinate with
3946`simctl location`. The page must report that coordinate back from