Created
September 2, 2021 23:28
-
-
Save navczydev/ab934d6beb515d45fe36cc7b3f6a6ec2 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
val alarmManager: AlarmManager = getSystemService(Context.ALARM_SERVICE) as AlarmManager | |
// check if our app can set exact alarms | |
if(alarmManager.canScheduleExactAlarms()){ | |
Log.d("MainActivity", "onCreate: SCHEDULE ALARM") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment