Skip to content

[Feature Request]: Setup Android System Notification #20

@theMr17

Description

@theMr17

Description

There is currently no integration with Android’s system notification manager. System notifications are essential to alert the user of new updates, such as GitHub notifications, even when the app is running in the background or closed.

Proposed Solution

  • Handle notification permissions.
  • Use NotificationManager to post system notifications.
  • Configure a notification channel for API 26+ with appropriate importance, sound, and vibration settings.
  • The notification should display:
    • Title (e.g., “New GitHub Notification”)
    • Content (e.g., “New comment on issue #1234”)
    • Optional action (e.g., tap to open the notification screen or redirect to a GitHub URL)
  • Use PendingIntent to ensure that tapping the notification opens the app at the correct screen.
  • Ensure compatibility across various Android versions.
  • Handle background limitations on Android 12+ appropriately using foreground services or other mechanisms.

Additional Context

Future enhancements can include notification grouping, snoozing, or custom user preferences for types of notifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions