1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to display count of unread notifications on app launcher icon like Facebook/WhatsApp

Discussion in 'Android Development' started by Amol K, Sep 5, 2019.

  1. Amol K

    Amol K Lurker
    Thread Starter

    I want to show count of unread notifications on my app's launcher icon when the app in not opened. I saw some posts similar to this which suggests to use some 3rd party libraries to achieve this.

    But when I checked the libraries, it does not seem to support all the devices.

    Any idea on a generic solution which will work on all possible devices (with or without 3rd party libraries)?

    Any help will be much appreciated.

    Thanks
     

    Advertisement

  2. Dannydet

    Dannydet Extreme Android User

    Is this a launcher app you are creating?
     
    #2 Dannydet, Sep 5, 2019
    Last edited: Sep 5, 2019
    ocnbrze and mikedt like this.
  3. Amol K

    Amol K Lurker
    Thread Starter

    No. This is not a launcher app. The app that I am trying to build is a simple service-oriented app where server side is sending FCM notifications about the new services. The notifications are received by the app and shown in system tray as well as in the list of notifications screen.

    I want to show the count of unread notifications on app launcher icon like Facebook/WhatApp does.
     
Loading...

Share This Page

Loading...