Implementing Notifications - s2swdev/notification_flutter_app GitHub Wiki

Next step

Generate notification

  1. The notification shall be triggered even when app is closed. (i.e. running in background)
  2. The app shall check for new coupon once every 24 hours.
  3. The app shall track coupons via "id" provided via JSON response.
  4. The app shall only trigger notification for new coupon. (i.e. new coupon "id")

Coupon page

  1. The coupon page shall display all the unread coupons in bold letters.

Coupon List Page

  1. There shall be a menu button at the end of each coupon list.
  2. Clicking the menu button shall give user following options: a. Mark as read b. Mask as unread
  3. If the user click "Mark as read", the badge number shall decrement by 1.
  4. If the user click "Mark as unread", the badge number shall increment by 1.

Badge

  1. The badge shall display number of new coupons received.
  2. The badge number shall decrement once the user open the notification.

Settings

  1. The user shall be able to select a notification tone from settings page.

Coupon List Page