In my app I need to notify user with a custom calling-type screen where he have to respond to an important business decision, its so important that he dint mind the bad user experience it can cause.
I use FCM data message, but the onRecieve method is not triggered when the app is swiped away from current apps list in devices below 6.0 .
Now I am using a service that starts a broadcast listener to listen received message, app is working as expected when its foreground/background, but once its swiped out, the service stops as the app is killed, but in devices above 6.0 app is not killed by swipe , this is my observation till now.
Basically what I am looking for is a service that can run even if your app is swiped away. I am aware of START_STICKY
things, it doesn't help. Please help me.