iterable-android-sdk icon indicating copy to clipboard operation
iterable-android-sdk copied to clipboard

Customize channel names for notifications with custom sounds

Open henieek opened this issue 11 months ago • 0 comments
trafficstars

Hey,

We received a report from a user concerned about "weird" notification channel names created by our app. After some investigation, I figured these "weird" names are actually the names of our custom sound files, that we use in our Iterable Push Notification campaigns.

What I found out, it's the Iterable SDK creating these channels based on the name of the sound file: https://github.com/Iterable/iterable-android-sdk/blob/master/iterableapi/src/main/java/com/iterable/iterableapi/IterableNotificationHelper.java#L142

Since Android displays channel names to users, and our sounds files don't have human-readable names, is it anyhow possible to customize these channel names?

Ideally we would like:

  • a single notification channel for all Iterable notifications
  • yet keep the ability for CRM Managers to pick a sound file of their choice, for each campaign.

Is this anyhow possible at the moment? Thank you!

henieek avatar Dec 06 '24 16:12 henieek