Skip to content

feat(push-notifications): add banner and list presentation options for iOS#2527

Closed
OS-ruimoreiramendes wants to merge 1 commit into
nextfrom
feat/RMET-5102/dep-alert
Closed

feat(push-notifications): add banner and list presentation options for iOS#2527
OS-ruimoreiramendes wants to merge 1 commit into
nextfrom
feat/RMET-5102/dep-alert

Conversation

@OS-ruimoreiramendes
Copy link
Copy Markdown
Contributor

Description

Added .banner and .list as new presentationOptions values for iOS, replacing the deprecated .alert presentation option. For backwards compatibility, .alert is kept but now maps to both .banner and .list on iOS.
On Android, .banner and .list trigger the same behavior as .alert.

Reference: https://outsystemsrd.atlassian.net/browse/RMET-5102

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation

Rationale / Problems Fixed

.alert in UNNotificationPresentationOptions is deprecated since iOS 14 and replaced by the more granular .banner and .list.
This PR adds support for the new values while keeping .alert working for backwards compatibility.

Tests or Reproductions

Tested on a physical iOS device using the Xcode Push Notifications Console with the following presentationOptions combinations:

  • ["banner", "list", "sound"]: banner appears + sound plays + notification in notification center
  • ["banner", "sound"]: banner appears + sound plays
  • ["list", "sound"]: no banner + sound plays + notification in notification center
  • ["alert", "sound"]: backwards compatibility behaves like ["banner", "list", "sound"]

Platforms Affected

  • Android
  • iOS
  • Web

@github-actions
Copy link
Copy Markdown

Released dev build of push-notifications with dev version: 8.0.4-dev-2527-20260513T113818.0

@OS-pedrogustavobilro OS-pedrogustavobilro self-assigned this May 14, 2026
@OS-ruimoreiramendes OS-ruimoreiramendes changed the base branch from next to main May 14, 2026 09:06
@OS-ruimoreiramendes OS-ruimoreiramendes changed the base branch from main to next May 14, 2026 09:08
@OS-ruimoreiramendes
Copy link
Copy Markdown
Contributor Author

I'll close this PR and open a new one targeting main instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants