Skip to content

Add support and documentation for data-only (silent) push notifications - #97

Merged
marcprux merged 3 commits into
skiptools:mainfrom
GavynHolt:feat/data-only-push-notifications
Jul 22, 2026
Merged

Add support and documentation for data-only (silent) push notifications#97
marcprux merged 3 commits into
skiptools:mainfrom
GavynHolt:feat/data-only-push-notifications

Conversation

@GavynHolt

@GavynHolt GavynHolt commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Hello!

We at RSPNDR are dealing with Data-Only push notifications lately and have been unfortunately blocked by Skip's missing support for this. When the "notification" property (for example for the title and body of a push notification) is missing, the onMessageReceived function performs an early return which ignores the notification.

For us on the iOS side, this is working perfectly fine but requires an additional application delegate function to be implemented, so I've added some details in the documentation regarding this, including some notes about the possible requirement to disable swizzling.

On the Android side, I have implemented an additional custom "Messaging" didReceiveRemoteMessage function which is only triggered ever in the Android app. It didn't seem at all possible to make use of the UserNotificationCenter, so I hope this is an acceptable side step.

I have tested thoroughly that background notifications are indeed working on both iOS and Android, and the original banner-style push notifications are still working as originally designed.

Closes #86

@cla-bot cla-bot Bot added the cla-signed label Jul 21, 2026
@GavynHolt

Copy link
Copy Markdown
Contributor Author

I should add that I did use Claude Fable to discuss some design ideas and changes and to assist with debugging, but the code is strongly vetted and tested by me personally, and only a very small portion of it was actually generated at all.

@marcprux
marcprux merged commit c56ca18 into skiptools:main Jul 22, 2026
2 checks passed
@marcprux

Copy link
Copy Markdown
Member

Nice addition, and good docs, thanks!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data-Only Push Notifications

2 participants