You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Notification counter in the navigation drawer never seems to get updated despite API response data reflecting changes, unless you logout and login again.
Reproduction Steps
Login to your AniList account and make a mental note of what the unread notification count is
Interact with the app or website to get the notification count to increase
Check the app and make sure that at least one notification check/profile request has been made
See the notification count upon expanding the navigation drawer, notice that the unread amount doesn't change
See data source class responsible for managing requests and persistence of the viewer class
See notification entity reference table that holds the user_id and notification count for a given user_id, this is only applicable to the authenticated accounts/profiles
We utilise relations to combine the user and notification entity tables
wax911
changed the title
Fix notification counter database logic to assure updates are persisted
[app-data] Fix notification counter database logic to assure updates are persisted
Dec 31, 2022
Perhaps it's easier to use a simple shared prefs to store our notification unread count, that way we don't need to concern our selfs with complex database queries
AniTrend Issue Guidelines
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
You may find an answer in already closed issues:
https://github.com/AniTrend/anitrend-v2/issues?q=is%3Aissue+is%3Aclosed
Description of Bug
Notification counter in the navigation drawer never seems to get updated despite API response data reflecting changes, unless you logout and login again.
Reproduction Steps
unread
notification count isScreenshots
Additional Context
user_id
and notification count for a givenuser_id
, this is only applicable to the authenticated accounts/profilesThe text was updated successfully, but these errors were encountered: