Files
buzz/mobile/ios/NotificationService
Tom Brow 1275a3805a fix(mobile): backport push sound and preference reset to 0.25 (#8458)
Backport the selected client push fixes to `mobile-v0.25`: supply the
default iOS sound when APNs omits it, and reset legacy per-community
notification preferences to enabled. Later explicit OFF choices persist
under the new preference key.

Cherry-picked without conflicts from main:
[#8443](https://github.com/block/buzz/pull/8443),
[#8425](https://github.com/block/buzz/pull/8425), and
[#8455](https://github.com/block/buzz/pull/8455). The default-on change
is a prerequisite for the reset, not a replacement for it. Only the
notification service and community model change in production; remaining
changes are tests. This PR targets the protected stable branch and does
not publish a release.

### Validation

- Existing Swift notification-handoff tests: 2 passed.
- Combined community, storage, bootstrap, and notification-toggle tests:
64 passed, including legacy reset and subsequent opt-out persistence.
- Full mobile pre-push checks passed. Full local repository CI passed.
- The local branch-skew hook assumes a main-targeted PR and rejects this
stable-targeted backport; that hook was excluded for publication, and
the already-passed unchanged mobile checks were not repeated on the
branch-name-only retry. Protected-branch review and CI remain required.
- No new device test was performed for this backport. The original sound
fix was device-tested before its main merge.

Advisory security-review automation currently supports only PRs
targeting main; no security review is claimed for this stable-targeted
backport.

---------

Signed-off-by: Tom Brow <tomb@block.xyz>
2026-10-19 10:41:58 -07:00
..