Reminders are missing randomly and multiple reminders are coming for particular session

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

we are having an application where we need to populate the alarm notification at specific time like in the morning,afternoon, evening, night.

case 1 : Missed Reminders when the app is in deep sleep mode or in the idle state we are not getting reminder on all version of andorid till android version R.

case 2 : Mulitple reminders are coming when the device is actice during that time we are facing multiple reminders.

For alarms we are using.

1. Room Database for storing the alarm time.
2. Alarm manager's setExactAndAllowWhileIdle() method we are using for setting the alarm.
3. Broadcast reciever for getting the pending intent and showing the alarm notification.
4. Workmanager we are using to set alarms in the background.

if anyone can help us out how can we populate alarm notification at particular time, doesn't matter if mobile is in deep state or idle.
we have gone through with mutilple solution for it but it seems to us nothing is working properly.
 
Welcome to Android Central! I moved this to the Software Development forum for more specific traffic.
 

Forum statistics

Threads
955,559
Messages
6,965,253
Members
3,163,325
Latest member
LITTLES