Fix: Allow push notification in idle state for Android

This commit is contained in:
bl00dymarie
2024-10-15 12:03:58 +02:00
parent 223ac148bd
commit 05f28b072a
+2
View File
@@ -57,6 +57,7 @@ export default function setupNotifications(navigate, setDate) {
vibrate: false, vibrate: false,
repeatType: 'day', repeatType: 'day',
channelId: 'drip-channel-id', channelId: 'drip-channel-id',
allowWhileIdle: true,
}) })
} }
}, false) }, false)
@@ -100,6 +101,7 @@ function setupPeriodReminder() {
date: reminderDate.toDate(), date: reminderDate.toDate(),
vibrate: false, vibrate: false,
channelId: 'drip-channel-id', channelId: 'drip-channel-id',
allowWhileIdle: true,
}) })
} }
} }