2

My background service is constantly getting killed only in specific devices like Lenovo vibe k5 (Already disabled Background App Management App). I've already tried checking if the service is running using Alarm Manager and GCM Periodic Task service but even these does not work when the app is killed but apps like Facebook and Gmail does get notifications. So I want to implement periodic sync using sync adapter to check if the service is running but couldn't find any proper documentation to get that to work. Can anyone provide me a reference on how to implement this?

Aman Kaushik
  • 360
  • 2
  • 10

0 Answers0