Skip to content

Notification channels

Notification Channels are a way to organize push notifications that were added with Android O. Starting with O, all push notifications must have a Notification Channel that indicates the type of message (for example, “chat notifications,” or “follow notifications”). Your users can then control aspects of their notification (for example, snoozing, noise/vibration settings, or opting-out, etc.) based upon individual Channels.

Transitioning to Android O

Notification channels can only be created in the code of your application and cannot be created programmatically in the Braze dashboard. We recommend your engineering team work with your marketers to ensure the desired notification channels are properly added to the dashboard.

Starting with Android O, push notifications require a valid channel to display. If your app targets Android O or later, you must use Braze SDK version 2.1.0 or later. Your development team should define the channels that you want to use as well as suggested notification settings (for example, importance, sound, lights) for each channel in your application code. You can find Android’s developer documentation here and Braze’s developer documentation here.

Once these channels are created, your engineers will need to pass on the associated channel IDs to your marketing team. Your team should enter your channel names and channel IDs into the Braze dashboard for use in your campaigns and Canvases.

To add a channel to the Braze dashboard, navigate to the Android push composer, select the notification channels field and then select “manage channels.”

SDK default channel

Android requires a valid channel to display push notifications on API level 26 (Android O) or later. Braze Android SDK 2.1.0 includes a default channel called “General,” which will be created and used if you do not specify additional channels in the dashboard or if you attempt to send to an invalid channel. You can rename this label in the SDK and provide a description of the channel. We recommend that you consider this to provide a better user experience.

Once a channel is added to your application, you can opt to remove it. However, consumers will always be able to see the number of channels that you’ve [removed].3 The Braze dashboard does not include support for programmatically creating channels - channels must be created and defined in the code of your application to provide a seamless experience.

Again, we recommend that you coordinate with your engineering team to ensure a seamless transition to targeting Android O.

Dashboard fallback channel

Braze allows you to specify a dashboard fallback channel. The purpose of the dashboard fallback channel is to provide a channel ID for legacy push messages with no explicit channel selection. We define a channel selection as choosing a channel in our Android push composer.

Messages that do not have a channel selected will be sent with the dashboard fallback Channel ID. When you change your dashboard fallback channel, any message that does not have a channel explicitly selected will send with the ID of the new fallback channel.

Here’s an example of the dashboard fallback channel expected behavior:

Your dashboard fallback channel is called “Marketing” and you have 10 Android push messages that you have never selected a channel for. These campaigns are sending through the “Marketing” channel because the “Marketing” Channel is the dashboard fallback channel.

Additionally, you have 15 messages that you’ve selected to send through the “Social Notifications” channel and five messages that you’ve selected to send through the “Marketing” channel.

You then decide to change your dashboard default channel from “Marketing” to “Updates”.

In this situation, all 10 campaigns with no channel selection that were previously sent through the “Marketing” Channel will now send through the “Updates” channel because these messages send through the fallback channel. The 15 messages that were sent through the “Social Notifications” channel will continue to send through the “Social Notifications” channel. The five messages that were sent through the “Marketing” channel will continue to send through the “Marketing” channel.

In the event that an invalid channel ID is supplied to Braze (such as if you provide a channel ID that your developers did not create in the SDK), we will deliver the notification through your SDK default channel. Therefore, we highly encourage you to test your notification channels via Braze’s dashboard during development.

To better understand the expected behavior for channels, refer to the following table:

Adding channels to the Braze dashboard

  1. Open any campaign or Canvas that includes an Android push and click Edit Campaign.
  2. Navigate to the Android push message composer.
  3. Click Manage Notification Channels. Any channels added here will be available globally for all campaigns and Canvases. You must have “Manage Apps” permissions for your workspace to manage channels.

When you apply a notification channel to a specific campaign or Canvas step, your Reachable Users tally (located in the Target Audience step) for Android Push will not appear to change. However, only users subscribed to the selected notification channel will see the message, and your campaign analytics (like clicks) will be measured based on this audience.

  1. Click Add Notification Channel.
  2. Enter the name and ID of the notification channel you want to add.



  3. Repeat steps 4 and 5 for each notification channel that you’d like to add.
  4. Press Save to save your changes.

Specifying your fallback channel

Your fallback channel is the channel that Braze will attempt to send your Android message with if you have not selected a channel for the message. The only campaigns and Canvases that will have Android messages without a channel selection are campaigns and Canvases that were created before your team added channels to the Braze dashboard. If you change your fallback channel, the change will be applied globally to all campaigns and Canvases without an explicit channel selection.

  1. Open any existing campaign or Canvas.
  2. Navigate to the Android push composer.
  3. Select Manage Notification Channels after expanding the notification channel options.



  4. Add the channel to the dashboard (if it has not already been added).
  5. Select the radio dial next to the channel that you’d like to designate as the fallback channel.
  6. Save your changes. Your changes will be applied globally.

Adding channels to your Android push messages

  1. Navigate to the Android push composer on any campaign or Canvas.
  2. Select the channel you’d like to use from the dropdown. If you do not have a dropdown but rather have the following view, you’ll need to add channels before selecting them for campaigns.

HOW HELPFUL WAS THIS PAGE?
New Stuff!