From 05f28b072a1a409e142625a16c3c000d48bbf34d Mon Sep 17 00:00:00 2001 From: bl00dymarie Date: Tue, 15 Oct 2024 12:03:58 +0200 Subject: [PATCH] Fix: Allow push notification in idle state for Android --- lib/notifications.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/notifications.js b/lib/notifications.js index e8bbfe3..d34d752 100644 --- a/lib/notifications.js +++ b/lib/notifications.js @@ -57,6 +57,7 @@ export default function setupNotifications(navigate, setDate) { vibrate: false, repeatType: 'day', channelId: 'drip-channel-id', + allowWhileIdle: true, }) } }, false) @@ -100,6 +101,7 @@ function setupPeriodReminder() { date: reminderDate.toDate(), vibrate: false, channelId: 'drip-channel-id', + allowWhileIdle: true, }) } }