Skip to content
Discussion options

You must be logged in to vote

The quick check. Run this from the project root and read what it prints.

grep -rqn 'FOREGROUND_SERVICE_LOCATION' --include='*.kt' --include='*.java' --include='*.xml' --include='*.gradle' --include='*.kts' . && grep -rqi 'geofenc' --include='*.kt' --include='*.java' --include='*.xml' --include='*.gradle' --include='*.kts' .

Read the result honestly. This is a heuristic. A match is something to inspect, not proof of a violation, and an empty result means nothing was found, not that the app is compliant. For CI, run the full guard, which reports this as GOOGLE-FGS-GEOFENCE-REMOVED with a coverage line and a proper exit code.

What the hit means. Geofencing is removed as an approved foregroun…

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