medium · M8 · MASVS-CODE-1 · PTKD-REVIEW-PLAY-FGS-DECLARATION

    Foreground service types need a Play Console declaration

    The app targets Android 14 or higher and uses foreground service types. Google Play asks for a declaration of every type in Play Console (App content), with a description of the feature, the user impact if the task is deferred or interrupted, and often a video. Releases stay blocked until it is complete.

    How it is exploited

    Not an attack: a fitness app targets Android 14 and runs a location and health foreground service during workouts. The release is held in Play Console until the foreground service declaration describes each type and its user impact.

    Why it matters

    A blocked release until the declaration is complete; a type that does not match the use case gets the update rejected.

    How to fix it

    1. List the foreground service types in the merged manifest (your services and SDK services).
    2. Remove types and services you do not use (tools:node="remove" for SDK entries).
    3. In Play Console open Monitor and improve > App content > Foreground service permissions and declare each remaining type with its use case, user impact and a demo video.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-FGS-DECLARATION and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M8)