Skip to content
Discussion options

You must be logged in to vote

Guideline. Foreground service requirements for apps targeting API 37 (Play Console Help answer 16965181) (Google Play)

Severity in the playbook. high

What triggers it. Geofencing is removed as an approved foreground service use case for apps targeting API 37. An app declaring FOREGROUND_SERVICE_LOCATION whose only location use is geofencing is rejected from 27 January 2027.

What to search your code for. FOREGROUND_SERVICE_LOCATION, geofence, Geofence

How to fix it. Move to the Geofence API (GeofencingClient) and drop FOREGROUND_SERVICE_LOCATION if geofencing was its only use.

The guard reports this as GOOGLE-FGS-GEOFENCE-REMOVED. The full pattern is in data/rejection-patterns.json.


This …

Replies: 1 comment

Comment options

mjmirza
Nov 6, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by mjmirza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant