Scheduled-result notifications: first lines, a lock-screen version, Open / Run again
CI / check (push) Canceled after 0s

From the push's `notification` (server fd0a386): the task's name and the result's first lines
in BigTextStyle for an unlocked phone, setPublicVersion with the task's name and Finished /
Failed for the lock screen, and the actions with the server's labels in the owner's language.
Run again calls POST /schedules/{id}/run and needs the phone unlocked
(setAuthenticationRequired); Pause stays as it was. An older server's payload (no
`notification`) keeps the app's fixed sentences. ScheduleContractTest reads
push_schedule.json and push_schedule_failed.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Opus 5.5 committed 2026-11-10 13:45:12 +00:00
1 parent ad5c6ca12b
commit cd88c3e712
15 files changed
+119 -26

No files matched your search

+1
View File
@@ -235,6 +235,7 @@ STRINGS: dict[str, str] = {
"channel_scheduled_failures": "Scheduled failures",
"scheduled_result_public": "A scheduled task has a result.",
"scheduled_failed_public": "A scheduled task failed.",
"schedule_run_again": "Run again",
# Cards
"card_approval": "Allow this?",
"card_allow_once": "Allow once",