-1

I am currently developing an app which sends notifications at specific hours of the day. I can create an intent service, but I dont think it would work when the user is outside the app. So I need a service which works at specific times

  • you could use timer, but is dynamic periodic time? or fixed interval? – Iqbal Rizky Jan 29 '17 at 22:06
  • Use AlarmManager to send an alarm at a particular time. If you need it to persist through reboots you may want to look at JobScheduler, which is a layer that uses AlarmManager and provides features like alarm persistence. – Gabe Sechan Jan 29 '17 at 22:19

1 Answers1

1

Try to look here, I was using Firebase in my projects and it is super easy to implement...

Community
  • 1
  • 1