Android O Notifications Channels

From the minor versions Android 3.5.4 and 3.6.1 and up, our SDK supports Channels (or Categories) of notifications, which are mandatory to send messages under Android O.

The Channels (technical label) or Categories (marketing label) launched by Google, aim to organize notifications in different categories (eg services, promotions, novelties) ; in order to let your mobile users manage the parameters linked to each categories independently .

The implementation of channels (or categories) is recommended within your application (according to your marketing plan), but you also have the possibility to use 6 preset of channels (categories), proposed in the SDK.

Channel label Importance of the channel Parameters linked to the importance of the channel

 

Urgent Messages

 

 

High

 

  • Badge

  • Sound

  • Vibration

  • Notification visible in status bar

  • Appears on the lock screen

  • Display the toast if the phone screen is unlocked

  • Wakes up the phone screen if the phone is turned off

     

 

 

Service Messages

 

 

 

High

 

 

General Information

 

 

 

Default

 

 

  • Badge

  • Sound

  • Vibration

  • Notification visible in status bar

  • Appears on the lock screen

 

 

News Messages

 

 

Default

 

Low priority Messages

 

 

Low

 

  • Badge

  • Notification visible in status bar

 

Minimum priority Messages

 

 

Min

 

  • Badge
    The notification appears on a one line (title + content)

Use of channel (category) in the push and/or sheduled alert form

On your push or alert form (sections message > actions), the six (06) preset of channel (or your own channels) can only be used via the customs parameters (key/value)

Channel (category) label key Value

Urgent Messages

 


acc_channel

acc_high

Service Messages

acc_service

General Information

acc_general

News Messages

acc_news

Low priority Messages

acc_low

Minimum priority Messages

acc_min

Notification Categories (Channel) - Access, Modification and Removal

  • On the user device's, the category (channel) will be created in the application settings, from the first reception of a push message or an scheduled alert,  sent within this category. Once created, only the mobinaute can modify one of the parameters related to the importance (ex: disable the badge, sound, vibration etc). Any modification made will be applied to all other notifications received in this category.
  • When a push is received, the user can access the category by a long press on the notification. The push message will be replaced by the window of the category. On this, the mobile user will be able to see directly the number of categories available within the application and can access to all of them by clicking on the button "ALL CATEGORIES ". It can also choose to unsubscribe directly from the category thanks to a slide on the toggle.

  • The channel per application or messages within a channel are unlimited. However, the number of deleted categories is indicated to the user

Notifications Channel - BADGE

With Android O, the new badge displayed is a non-digital badge. It appears as a small icon above the application (see image below).

A long press on this icon allows to display the notifications related to the badge with two  possibility :

  • Interact with the notification (click on the main action only)
  • Delete the notification (by sliding it to the left)