Hello 👋 How can we help?

Customizing push notifications view

Written by Konstantine
Updated 1 month ago

You can customize the view of push notifications sent by HelpCrunch android SDK by changing the notification icon and text.

1. Add your app icon to “drawable”
2. Add your notification channel title
3. Add large icon color
4. Set up the SDK, indicating which resource to use:

HelpCrunchOptions options = new HelpCrunchOptions()
        .setFcmIcon(R.drawable.fcm_custom_icon)
        .setNotificationsChannelTitle("Channel Title")
        .setNotificationsLargeIconBgColor(R.color.colorAccent);
 
HelpCrunch.initializeWithOptions(this, ORGANIZATION, APP_ID, SECRET, options);

Did this answer your question?