Skip to content

Commit

Permalink
feat: Raise notification importance in android
Browse files Browse the repository at this point in the history
  • Loading branch information
Almoullim authored Jul 25, 2023
1 parent 3409b93 commit 52ef3db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class LocationUpdatesService : Service() {
mNotificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val name = "Application Name"
val mChannel = NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_LOW)
val mChannel = NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_DEFAULT)
mChannel.setSound(null, null)
mNotificationManager!!.createNotificationChannel(mChannel)
}
Expand Down

0 comments on commit 52ef3db

Please sign in to comment.