Android Question Android 5.1.1 Service Not Restarting

Jonathan Rigley

Member
Licensed User
Longtime User
I have several apps on Google Play that use a background service to listen for incoming sms. For the past few years all as worked well until the Android Update to 5.1.1. The service is being killed and not restarted. I use StartServiceAt, StartAtBoot and Start Sticky.

The Service_Destroy is never captured and no logs are created from the try catch. I have connected by debug, waited and waited and the app just simply closes. no logs nothing.

As anyone come across this or is there anything I'm now doing wrong?

Also to my knowledge there is nothing closing it like greenify.
Many thanks.
 
Top