Back to all

OneSignal v5: How to create a custom Android notification channel?

We are using Median’s OneSignal plugin with OneSignal SDK v5, and Android push delivery is working correctly through FCM.

We want important notifications to use a dedicated Android notification channel:

Channel ID: matchiv_alerts
Channel name: Matchiv Alerts
Importance: high

Our backend sends OneSignal notifications with:

android_channel_id: "matchiv_alerts"

However, Median App Studio’s OneSignal plugin settings do not expose a way to create/configure a custom Android notification channel. The app currently falls back to the generic Miscellaneous channel, which defaults to no heads-up banner.

What is the supported way, using Median’s OneSignal plugin, to create a custom high-importance Android notification channel so android_channel_id: "matchiv_alerts" resolves correctly?

We do not want to switch away from OneSignal or add a parallel push provider unless necessary.