Skip to content

[notifications] add custom sound existence validation#43189

Merged
vonovak merged 1 commit intomainfrom
vonovak__notifications_improve_custom_sound_validation
Feb 17, 2026
Merged

[notifications] add custom sound existence validation#43189
vonovak merged 1 commit intomainfrom
vonovak__notifications_improve_custom_sound_validation

Conversation

@vonovak
Copy link
Copy Markdown
Contributor

@vonovak vonovak commented Feb 16, 2026

Why

adds custom sound validation (closes #40954), and improves a push token warning on simulators

this validates sound resource existence on iOS when calling scheduleNotificationAsync, and on Android when creating a channel.

How

  • notification tester app

Test Plan

via the added examples

Checklist

Copy link
Copy Markdown
Contributor Author

vonovak commented Feb 16, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Feb 16, 2026
@vonovak vonovak force-pushed the vonovak__notifications_improve_custom_sound_validation branch from e5922e3 to 23c7d51 Compare February 16, 2026 19:05
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Feb 16, 2026

The Pull Request introduced fingerprint changes against the base commit: aeb6506

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-notifications/android",
      "reasons": [
        "expoAutolinkingAndroid"
      ],
      "hash": "7ec9e8e67483a938cd528c832d079dd5a030417e"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-notifications/android",
      "reasons": [
        "expoAutolinkingAndroid"
      ],
      "hash": "66fa608c0e01aebbcb5d835af63b19c8fdbce3b9"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-notifications/ios",
      "reasons": [
        "expoAutolinkingIos"
      ],
      "hash": "5bb47f10637f0e13f6ad17ef9d4b5fdbd83db351"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-notifications/ios",
      "reasons": [
        "expoAutolinkingIos"
      ],
      "hash": "c86dfc7a2e9c99b00292e79407731143c78d0cb4"
    }
  }
]

Generated by PR labeler 🤖

@vonovak vonovak force-pushed the vonovak__notifications_improve_custom_sound_validation branch from 23c7d51 to 3349e41 Compare February 16, 2026 20:14
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Feb 16, 2026
@vonovak vonovak marked this pull request as ready for review February 16, 2026 20:15
@vonovak vonovak requested a review from douglowder February 16, 2026 20:15
@github-actions
Copy link
Copy Markdown
Contributor

Subscribed to pull request

File Patterns Mentions
packages/expo-notifications/** @douglowder

Generated by CodeMention

@vonovak vonovak changed the title [notifications] improve custom sound validation [notifications] add custom sound existence validation Feb 16, 2026
@vonovak vonovak force-pushed the vonovak__notifications_improve_custom_sound_validation branch from 3349e41 to 1a4ead1 Compare February 16, 2026 21:09
@vonovak vonovak merged commit ac5109b into main Feb 17, 2026
14 of 15 checks passed
@vonovak vonovak deleted the vonovak__notifications_improve_custom_sound_validation branch February 17, 2026 07:23
benjaminkomen pushed a commit to benjaminkomen/expo that referenced this pull request Feb 25, 2026
# Why

adds custom sound validation (closes expo#40954), and improves a push token
warning on simulators

this validates sound resource existence on iOS when calling
`scheduleNotificationAsync`, and on Android when creating a `channel`.

# How

- notification tester app

# Test Plan

via the added examples

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS: Custom notification sounds not playing - UNNotificationSound(named:) returns nil silently

3 participants