How to specify channel when sending to Android O?

Category: azure notification hubs


stevex on Tue, 20 Nov 2018 03:59:08

Android O requires that you specify a channel when sending a message.  If you don't, it pops up the following message every time it receives one:

Developer warning for package ""
Failed to post notification on channel "null"

When I'm sending a notification to an Android device using Azure NotificationHub, how do I specify the channel?

 -- Steve


Grace MacJones-MSFT on Wed, 21 Nov 2018 23:33:49

Hi Steve,

Are you using Firebase Cloud Messaging or Google Cloud Messaging for your notification messages? You can also take a look at this SO thread.  It looks like its a similar issue.