-
-
Save Arunshaik2001/7d57310d8f3e23627c6faa979c27e50c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun createNotificationChannel() { | |
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.O) { | |
val notificationChannel = NotificationChannel( | |
"channel_id_1", | |
"channel1", | |
NotificationManager.IMPORTANCE_DEFAULT | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment