How to run background service for Instant Messaging using Kurento API in Oreo?
问题 Android Oreo has released with many restrictions on running background services/Task. Services now don't behave like normal in Oreo as they used to before. But what if I have to run a service in background for 24*7 for Instant Messaging. I am developing an application for Instant messaging using kurento Third Party API. To achieve this I will have to run a background service which communicate with server for new messages. Lower then Oreo its working fine. How do I prevent android system to