Change icon and color

SETUP - Extend your look-and-feel to notifications

šŸ“˜

We reuse Firebase configuration

If you have already integrated Firebase to your application and customized your default icon and color, then you're done! WonderPush reuses this configuration so you have no work to do.

To configure the default icon and color, add the following two items inside the <application> tag of your AndroidManifest.xml:

<meta-data
    android:name="com.google.firebase.messaging.default_notification_icon"
    android:resource="@drawable/ic_stat_ic_notification" />

<meta-data
    android:name="com.google.firebase.messaging.default_notification_color"
    android:resource="@color/colorAccent" />

Notification icons and color can be customized on a per-sending basis too, from the API and the dashboard.

Note that Android only uses the alpha channel of the notification icon, and recolorize it using the notification color. If not set, WonderPush will use a bell icon by default.