Repository navigation
|
My foreground service uses the specialUse type. What is missing? |
Answered by
mjmirza
Nov 15, 2026
Replies: 1 comment
|
A The guard parses the manifest per service, so a property in an XML comment or on a different service does not count, and an attribute split across lines is still read. Add the property to each specialUse service, or move to a specific foreground service type. |
0 replies
Answer selected by
mjmirza
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A
specialUseforeground service must declare apropertyelement namedandroid.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPEinside that service, and you justify the use in the Play Console foreground service declaration.The guard parses the manifest per service, so a property in an XML comment or on a different service does not count, and an attribute split across lines is still read. Add the property to each specialUse service, or move to a specific foreground service type.