CleverTap / clevertap-flutter

CleverTap Flutter SDK
Other
30 stars 42 forks source link

Channel created by clevertap flutter SDK not getting updated in CleverTap Dashboard #232

Closed Uvais-Mohammad closed 2 months ago

Uvais-Mohammad commented 2 months ago

I created a channel in Flutter by using below code

        CleverTapPlugin.createNotificationChannel(
          "important",
          "important", //channel name
          "Important Channel",
          3,
          true,
        );

But its not getting updated in the channel list in CleverTap Dashboard. It is only showing the channels created from dashboard

image

So can anyone please explain what is the use case of CleverTapPlugin.createNotificationChannel function ?

Anush-Shand commented 2 months ago

@Uvais-Mohammad CleverTapPlugin.createNotificationChannel is used to create a notification channel on an Android platform which was introduced in Android 8.0 (API level 26). This notification channel name can then be used on the dashboard to render a notification on that created channel

Note : These notification channels need to be explicitly saved on the dashboard. Please refer to this doc for the same https://developer.clevertap.com/docs/android-push#push-notifications-for-android-o