StanfordSpezi / SpeziScheduler

Scheduler Module for the Stanford Spezi Ecosystem
https://swiftpackageindex.com/StanfordSpezi/SpeziScheduler/documentation/
MIT License
3 stars 3 forks source link

Style Local Notifications #19

Open PSchmiedmayer opened 11 months ago

PSchmiedmayer commented 11 months ago

Problem

Local notifications are currently based on the title and subtitle of the task that the event is associated with.

Solution

The styling of the notifications should be customizable.

A suggestion to implement this functionality could be adding a closure or delegate-based configuration in the Scheduler type that allows an application to style the notification based on the task context. An additional possibility would be adding this functionality in the Task type.

Additional context

Any suggestions on the API surface are greatly appreciated. Feel free to use the comment section under this issue to discuss possible ideas and how you can implement that functionality in this module.

Code of Conduct

AballahNsour commented 1 month ago

I will work on this problem.