Skip to content

feat: Add Notification System (Service, Controller, UI)#283

Open
AsrOfficialDev wants to merge 2 commits intoRyanYuuki:mainfrom
AsrOfficialDev:feature/notifications
Open

feat: Add Notification System (Service, Controller, UI)#283
AsrOfficialDev wants to merge 2 commits intoRyanYuuki:mainfrom
AsrOfficialDev:feature/notifications

Conversation

@AsrOfficialDev
Copy link

Pull Request

Description:
This PR introduces a complete notification system for AnymeX. It allows users to receive updates when new episodes of their tracked anime are released. Also, it resolves critical build issues related to NDK versions and Java desugaring.

Title:
feat: Add Notification System (Service, Controller, UI)

Summary of Changes:

  • New Feature: Implemented NotificationService (backend) and NotificationController (logic) to fetch and filter airing schedules against the user's list.
  • New UI: Added NotificationPage to display a list of recently released episodes with relative timestamps.
  • Integration: Updated [SettingsSheet] replacing the "Feature not available" placeholder with navigation to the new Notification screen.
  • Build Fixes: Removed hardcoded NDK version in [build.gradle] and enabled coreLibraryDesugaring to fix crashes on certain Android versions.
  • Dependencies: Added flutter_local_notifications, workmanager (for background tasks), and timezone.

Type of Changes:

  • Feature
  • Bug Fix (Build/NDK issues)
  • Enhancement
  • Documentation

Testing Notes:

  1. Build Verification: Successfully built debug APK (flutter build apk --debug) after resolving NDK and desugaring errors.
  2. Manual Installation: Installed on a physical device.
  3. UI Testing: Verified that clicking the notification bell in the profile menu correctly navigates to the new NotificationPage.
  4. Logic Verification: Confirmed that the "Recently Released" list populates correctly using AniList data.

Linked Issue(s):
(None)

Additional Context:
This implementation currently focuses on AniList integration. Future updates can expand this to support MAL and Simkl schedules.

Submission Checklist:

  • I have read and followed the project's contributing guidelines
  • My code follows the code style of this project
  • I have tested the changes and ensured they do not break existing functionality
  • I have added or updated documentation as needed
  • I have linked related issues in the description above
  • I have tagged the appropriate reviewers for this pull request

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

🎉 Thank you for your contribution!

Your Pull Request has been successfully submitted and is now awaiting review. We truly appreciate your efforts to improve Anymex.

👥 Connect with the Community

While you're here, why not join our communities to stay engaged?

  • Discord: Chat with fellow developers, ask questions, and get the latest updates.
  • Telegram: Connect directly with us for real-time discussions and updates.

📋 What to Expect Next

  • Our team will review your pull request as soon as possible.
  • You'll receive notifications if further information or changes are needed.
  • Once approved, your changes will be merged into the main project.

We're excited to collaborate with you. Stay tuned for updates!

@itsmechinmoy
Copy link
Collaborator

@Rieversed was working on a notification system too
Btw @AsrOfficialDev you've not shared any screenshot?

@AsrOfficialDev
Copy link
Author

@Rieversed was working on a notification system too Btw @AsrOfficialDev you've not shared any screenshot?

1000308062
The problem is I can't log in after building the app. But the notification button is working fine.

@RyanYuuki
Copy link
Owner

@Rieversed was working on a notification system too Btw @AsrOfficialDev you've not shared any screenshot?

1000308062 The problem is I can't log in after building the app. But the notification button is working fine.

can you use NestedHeader widget for header?
also have you tested this properly? is the work manager working properly in the background?

@AsrOfficialDev
Copy link
Author

@Rieversed was working on a notification system too Btw @AsrOfficialDev you've not shared any screenshot?

1000308062 The problem is I can't log in after building the app. But the notification button is working fine.

can you use NestedHeader widget for header? also have you tested this properly? is the work manager working properly in the background?

Yes. I can use NestHeader if you want. And I have checked the UI its working. However, I have not fully tested the background Workmanager, Because Anilist login was not working

@Rieversed
Copy link
Contributor

😭😭😭 This timing is impeccable, you definitely gotta find a way to test it first.

@AsrOfficialDev
Copy link
Author

I have updated the UI to use the NestedHeader widget as requested. The app should be working fine now.

@Shebyyy
Copy link
Collaborator

Shebyyy commented Feb 10, 2026

I have updated the UI to use the NestedHeader widget as requested. The app should be working fine now.

Brother kindly test and send few screenshot and video, like how notification will look for different type of notifications

@AsrOfficialDev
Copy link
Author

Screenshot_2026_0210_132754
I have updated the notification system and fixed some issues. The app should be working fine now. Can't show notifications right now because no episode of my list has been released yet. will add another screenshot later.

@AsrOfficialDev
Copy link
Author

IMG_20260210_203625

Record130.mp4

All notification related issue fixed

@itsmechinmoy
Copy link
Collaborator

@AsrOfficialDev
Conflicts are piling up, and we’ve got additional notification related features planned that need attention too.
Also, shouldn’t your focus be on Redantotsu right now? Or have you stepped away from it?

Dont close this, other contributors will take a look at this too

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.

5 participants