Fix: Allow push notification in idle state for Android
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user