I am experiencing a bit of a strange defect that I am trying to resolve.
Here is the configuration: * A foreground service that has 2 listeners: ** sms received listener ** call state listener
- I have left the app and it's service on, just for testing purposes.
- It handled both missed calls and text messages
- After some time (roughly 8 - 10 hours), it stopped receiving phone state events and thus did not handle missed calls any more.
- However, sms received listener continued working just fine.
This morning I verified that no phone state events are detected, meaning that receiver is not listening to events any more.
What could be the issue here? This is the first time I am experiencing it and I have been testing for a few days now.
Thanks