1. Are you ready for the Galaxy S20? Here is everything we know so far!

alarmManager and work manager are unable to show reminders correctly

Discussion in 'Android Development' started by aj4yourhelp, Feb 10, 2022.

  1. aj4yourhelp

    aj4yourhelp Lurker
    Thread Starter

    Subject:
    Issue with alarmManager and work manager
    Reminders are missing randomanly and mutiple reminders are comming for particular session, we have used alarm manager and workmanager for populating the reminder.
    Description:
    we are developing a healthcare app where we need to populate the alarm notification at a 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.
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - alarmManager manager are
  1. stealthpaws
    Replies:
    4
    Views:
    930
  2. Rgarner
    Replies:
    1
    Views:
    352
  3. dbsoccer
    Replies:
    3
    Views:
    631
  4. h110m
    Replies:
    0
    Views:
    1,062
  5. Reyna P
    Replies:
    2
    Views:
    834
  6. App Update
    Replies:
    2
    Views:
    639
  7. Sebastien Michaud
    Replies:
    4
    Views:
    785
  8. Airon Briones
    Replies:
    0
    Views:
    1,693
  9. Richardy
    Replies:
    0
    Views:
    1,732
  10. professor_of_stupidity
    Replies:
    0
    Views:
    1,769

Share This Page

Loading...