Skip to content

[Technical Questions] Run background notifications #129

Discussion options

You must be logged in to vote

Hi @elsa-bismuth!

It looks like the current implementation works directly with BGAppRefreshTaskRequest and the "manual" local notification system. Instead, it will be much easier to use the SpeziScheduler module. This will allow you to easily define recurring Tasks and provide code blocks that check if the Task has been completed. Please look through the documentation provided at the link, which has coding examples and thorough explanations of the different components of the library. In particular, you might find SchedulerNotifications to be particularly helpful.

Finally, for an example, see the Spezi Template Application, which includes a fully implemented local notification system (see S…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nriedman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants