Skip to content

Commit

Permalink
feat: fine tuning notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
SudharakaP committed May 3, 2024
1 parent 77c1eed commit 03ce07c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/CountDownTimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const CountDownTimer = ({ timerState, showPauseButton, showStopButton }) => {
content: {
title: 'Your Timer is Running',
body: 'Your timer is still running in the background. Tap to open the app.',
priority: Notifications.AndroidNotificationPriority.MAX,
sticky: true,
vibrate: false,
},
Expand All @@ -75,7 +74,7 @@ const CountDownTimer = ({ timerState, showPauseButton, showStopButton }) => {
body: 'Your timer has finished! Tap to open the app.',
priority: Notifications.AndroidNotificationPriority.MAX,
sound: bellSound.fileName,
vibrate: [0, 250, 250, 250],
vibrate: true,
},
trigger: { seconds: counter, channelId: 'Bhavana' },
}).then((notificationId) =>
Expand Down

0 comments on commit 03ce07c

Please sign in to comment.