Skip to content

Fix: allow custom notification fields via inheritance#8

Open
IsaMorphic wants to merge 5 commits intofitomad:mainfrom
IsaMorphic:feature/fix-custom-notification
Open

Fix: allow custom notification fields via inheritance#8
IsaMorphic wants to merge 5 commits intofitomad:mainfrom
IsaMorphic:feature/fix-custom-notification

Conversation

@IsaMorphic
Copy link
Contributor

APNS documentation states that custom fields can be added to the notification payload by adding extra fields outside of the aps object. This pull request addresses this use case by allowing users to subclass and pass arbitrary instances of the NotificationContainer wrapper to the IApnsClient.SendAsync method. The drawback is that the user must manually wrap Notification instances before passing them to the main service.

@IsaMorphic IsaMorphic force-pushed the feature/fix-custom-notification branch from e56e3c3 to 4a99d9c Compare October 1, 2025 15:07
@IsaMorphic IsaMorphic force-pushed the feature/fix-custom-notification branch 2 times, most recently from 2e4954a to 7c8496f Compare November 15, 2025 17:49
@IsaMorphic IsaMorphic force-pushed the feature/fix-custom-notification branch from 7c8496f to cc54f21 Compare November 30, 2025 16:51
@IsaMorphic IsaMorphic force-pushed the feature/fix-custom-notification branch from 6a3d9e6 to 96e1bbd Compare December 3, 2025 15:16
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.

1 participant