diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 14035d1..59f64c5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -22,6 +22,7 @@ = Build.VERSION_CODES.O) { + CharSequence name = "Your Channel Name"; + String description = "Your Channel Description"; + int importance = NotificationManager.IMPORTANCE_DEFAULT; + NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); + channel.setDescription(description); + + NotificationManager notificationManager = context.getSystemService(NotificationManager.class); + notificationManager.createNotificationChannel(channel); + } + } +} +