You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ebbaff9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): recognize and answer the localized Open in launch confirmation (callstack#4160)
* fix(ios): recognize and answer the localized Open in launch confirmation
On a non-English iOS simulator, the `Open in "<App>"?` confirmation that
`open --launch-url` raises stayed unrecognized (`alert-unrecognized`), and
`alert accept` refused its button (`Ouvrir`) with ALERT_BUTTON_NOT_FOUND.
The runner now reads SpringBoard's own SchemeApproval strings
(CoreServices.framework) with the strings it already reads for permission
prompts. Their open and cancel labels join the alert vocabulary, so
`alert accept` and `dismiss` answer the prompt in each preferred language.
The runner also marks an alert read as the launch confirmation when its title
and both buttons are the OS's wording of one language, and `open` accepts a
marked prompt instead of matching English text. Unreadable strings recognize
nothing, as before.
Fixescallstack#3922
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* fix(ios): read the launch confirmation strings apart from the permission prompts
A runtime without the SchemeApproval table no longer drops the notification,
tracking, and location vocabulary. The test shares the CONFIRMATION fixture.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* fix(ios): keep the launch confirmation mark apart from open's outcome
Rename the runner's alert mark to launchConfirmationPrompt so it cannot be read
as open's launchConfirmation outcome, and document it. Accept positional
app-name placeholders in the OS title format, skip a wording with no
placeholder, and name the failing subsystem in the unavailable-strings log.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* docs: scope the launch confirmation mark to local iOS simulators
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* fix(ios): mark only SpringBoard's modal and read bracketed title formats
The launch-confirmation mark now needs the SpringBoard blocking-modal source, so
an app alert with the same wording and buttons is not auto-accepted by open.
The title placeholder accepts Apple's bracketed object format (Finnish
`%[tt]@`). Tests load every installed SchemeApproval localization, cover the
missing-table branch, and cover the app-owned alert.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* test(ios): cover Finnish in the system-strings launch confirmation test
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* fix(ios): take only the open and cancel labels of the SchemeApproval table
Another key of that undocumented table cannot join the accept or dismiss labels.
The placeholder regex no longer force-unwraps.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* refactor(ios): tidy the system prompt strings docs and warm both readers apart
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* fix(ios): keep the launch confirmation labels when a permission table is unreadable
The two reads are independent, so an unreadable permission table no longer
discards Ouvrir and Annuler. The placeholder regex traps on a bad literal
instead of silently disabling recognition.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
* docs: describe the split alert string read
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---------
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
0 commit comments