Skip to content

Notification not fired when reset my device #8

@aaronat1

Description

@aaronat1

Notification not fired when reset my device:

my code:

fun createAlarm() {

        smplrAlarmSet(context) {
            hour { 20 }
            min { 38 }
            weekdays {
                monday()
                tuesday()
                wednesday()
                thursday()
                friday()
                saturday()
                sunday()
            }
            notification {
                alarmNotification {
                    smallIcon { R.drawable.ic_logo }
                    title { "Simple alarm is ringing" }
                    message { "Simple alarm is ringing" }
                    bigText { "Simple alarm is ringing" }
                    autoCancel { true }
                }
            }
            notificationChannel {
                channel {
                    importance { NotificationManager.IMPORTANCE_HIGH }
                    showBadge { false }
                    name { "CHANNEL_ID" }
                    description { "This notification channel is created by Simple" }
                }
            }
            isActive { true }
        }
}

My device: Pixel 4A. Android 12

Thanks. Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions