Hello, I have an older App, build with the "old" activities and Services. On newer Android Versions I have the problem, that the notifications are not shown then expected...
My aim is:
1. Getting a Message by Firebase notifaction. This part is working. I get a short notification on the phone.
2. Show an reminder, if the Message is not readed - for example after 5 minutes. This part is not working....
After getting the message by firebase notifaction, I try to set a "wake up call" by
StartServiceAtExact(Reminder, DateTime.Now + 5 x DateTime.TicksPerMinute, True)
"Reminder" is a foreground service. But it seems, that the Service does not start, when the phone is sleeping....
What is the best way to do this on new Android Versions?