Hey Everyone , I have doubts related to the backward compatibility of the 
our application. We have migrated our application from API 27 to 28. And 
Apps that target Android 9 (API level 28) or higher and use foreground 
services must request the FOREGROUND_SERVICE permission [Android doc 
<https://developer.android.com/guide/components/foreground-services#request-foreground-service-permissions>].
 
Adding this permission breaks my application in API 27 (Android 8.1) 
devices but working fine on devices having API 28.I have attached the error 
we were getting by running application in API 27 devices.
Could anyone helps us out on how to resolve this issue and make our 
application backward compatible to API 27.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c35360ed-d431-468e-939f-ff1cf43d03c6n%40googlegroups.com.

Reply via email to