Backgrounde mode android Oreo


I’m trying to run android geolocalization in background, but now with background limitation (api 26) after a while my service is put in idle state and it doesn’t return coordinates anymore. Is there any plugin updated to api 26 ?

I have tried to fix the plugin but Cordova return me a problem with ContextCompat.startForegroundService(context,intent).

Is possible noone is has encountered this problem ?