Add log when alarm finishes

This commit is contained in:
Brandon Presley 2022-12-08 15:56:09 +13:00
parent 6df9bba2ae
commit 9c184c5924
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ class AlarmModule constructor(context: ReactApplicationContext?) :
val manager = getManager()
manager.notify(NOTIFICATION_ID_DONE, builder.build())
manager.cancel(NOTIFICATION_ID_PENDING)
Log.d("AlarmModule", "Finished: vibrate=$vibrate,sound=$sound,noSound=$noSound")
val alarmIntent = Intent(context, AlarmService::class.java).apply {
putExtra("vibrate", vibrate)
putExtra("sound", sound)