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

[User Model] notification_types and model event rework #1673

Merged

Conversation

brismithers
Copy link
Contributor

@brismithers brismithers commented Oct 19, 2022

  • Update ISingletonModelStore.get() function to be ISingletonModelStore.model property
  • Rework the model store change event system to always fire, using tags to differentiate why changes occurred.
  • Add SubscriptionModel.status to capture the subscription status, for when retrieving push token fails for some reason.
  • Drive event callback when app killed during request notification permission activity.

This change is Reviewable

* Update `ISingletonModelStore.get()` function to be `ISingletonModelStore.model` property
* Rework the model store change event system to always fire, using tags to differentiate why changes occurred.
* Add `SubscriptionModel.status` to capture the subscription status, for when retrieving push token fails for some reason.
* Drive event callback when app killed during request notification permission activity.
@brismithers brismithers merged commit 86af18f into user-model/main Oct 20, 2022
@brismithers brismithers deleted the user-model/notification-types-model-event-rework branch October 20, 2022 13:01
jinliu9508 pushed a commit that referenced this pull request Jan 31, 2024
…-model-event-rework

[User Model] notification_types and model event rework
jinliu9508 pushed a commit that referenced this pull request Jan 31, 2024
…-model-event-rework

[User Model] notification_types and model event rework
jinliu9508 pushed a commit that referenced this pull request Feb 6, 2024
…-model-event-rework

[User Model] notification_types and model event rework
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