Launcher Icon counter

How we can add a counter in the App Launcher Icon?

image

I have not found any info about this in any place.

Thanks in advance.

Hey @trivumx,

We do not currently offer this functionality right now. Badge count is only available on iOS.

Cheers,
Adam

thanks, could you share me the doc for this functionality?

thanks in advance

is this one, right?

https://docs.expo.io/versions/latest/sdk/notifications/#app-icon-badge-number-ios

For users on Android Oreo and above, users will get a badge icon automatically, and it will match the number of notifications currently in the tray. You may want to consider some kind of behavior where your app dismisses open notifications automatically when you enter the app to keep this number clearing out as messages are read. I outlined how we handle it previously: How to handle push notifications in both client end and server end?

not sure if that works @llamaluvr, i’m testing in Oreo (Android 8) and no badge appears.

Sorry, I just remembered that stock Android actually just shows a dot when there’s one or more notifications. Specific vendors (like Samsung) may change that to numbers. My Galaxy S8 running 8.0 is showing a “2” right now next to my app icon with two notifications in the tray.

Here’s the Android documentation on the feature: https://developer.android.com/guide/topics/ui/notifiers/notifications. What you see may vary based on device/ app settings and OEM.

thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.