Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset user context on account logout #57

Open
1 task done
Supereg opened this issue Nov 13, 2023 · 0 comments
Open
1 task done

Reset user context on account logout #57

Supereg opened this issue Nov 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Supereg
Copy link
Member

Supereg commented Nov 13, 2023

Description

The template app currently enforces to be logged into a user account. Once you log out from the account, a sheet pops up requiring you to sign back in, before you can continue to use the app.
While this works as expected, the Schedule is not paused. For example, the app continues to deliver notifications to complete the social support questionnaire.

Reproduction

  1. Onboard the app.
  2. Logout from your account.
  3. Wait till 8am to get a schedule notification delivered.

Expected behavior

It would be expected that the app clears all currently queued scheduled notifications and only reschedule them once the user signs back in. This (probably) requires an additional API surface in SpeziScheduler module and some additional account related handling in the ScheduleView.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@Supereg Supereg added the bug Something isn't working label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant