0

I am develop a simple a welcome android app of one signal notification ..one signal notification shows a bell icon but i want to replace that bell icon and show that my app icon ....so please guide for this

Pratiksha
  • 27
  • 6

1 Answers1

1

Answer- Android: OneSignal how to change Notification bill icon with custom icon or app icon?

You need to create an icon named ic_stat_onesignal_default in your drawable directory which will be shown instead of OneSignal's default bell icon. It is recommended to use the Android Asset Studio to create the correct sizes and to make sure it will look correct before trying it on your device.

Note the app icon should no longer be used as a small notification icon as in Android 5.0 Lollipop the icon's alpha will only be used. Most app icons will just be a white squire or circle in this case.

See OneSignal's documentation page below for more details. https://documentation.onesignal.com/docs/customize-notification-icons

Moklesur Rahman
  • 543
  • 6
  • 12