I am developing a calendar application. I'm starting to get interested in notifications but I have a problem. Impossible to know how I can send a notification to the user. This notification must appear even if the application is closed and must not require internet. Does anyone have any idea how to do that?
Asked
Active
Viewed 107 times
0
-
You should look at Firebase cloud messaging - https://firebase.google.com/products/cloud-messaging for sending notification to application. But I am not sure if it can work without internet connection. – Anže Mur Nov 19 '19 at 19:55
-
Create services that listen to the calendar and clock then call the notification manager depending in your condition. It doesn't require internet. here some example service https://stackoverflow.com/questions/32028134/how-to-keep-a-countdowntimer-running-even-if-the-app-is-closed – L2_Paver Nov 20 '19 at 00:59