Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Help Wanted]: Polygon geofencing without FOREGROUND_SERVICE / FOREGROUND_SERVICE_LOCATION

Open
#1,721 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, dart, flutter
Domain
backend, mobile

Research direction

Start by reading the Android geofencing and foreground service documentation and the plugin's PolygonGeofencingService entry point. Reproduce the merged manifest warning after removing the foreground service permissions, then trace how polygon geofencing is promoted. Done means the issue's recommended Android approach is documented or implemented and polygon geofencing works without those permissions.

Written by the indexing model from the issue text.

Description

Required Reading
  • Confirmed
Plugin Version

5.9.0

Mobile operating-system(s)
  • iOS
  • Android
Device Manufacturer(s) and Model(s)

Any Android

Device operating-systems(s)

Any Android

What do you require assistance about?

Hi @christocracy ,

We utilise your plugin for our geofence based checkins - both circle and polygon. Up until now, this has been working great. With Google's updated policy around not permitting FOREGROUND_SERVICE / FOREGROUND_SERVICE_LOCATION for geofencing coming into force soon, we are looking at what we need to change in our implementation to comply with this policy update.

The nature of our app is that it needs to run in the background a lot of the time and check people in and out of work places. One of the things that has come up in testing is that if we remove those permissions from our merged manifest, we see warnings such as the following:

10-22 17:09:33.751 WARN [AbstractService a] ⚠️ Cannot promote PolygonGeofencingService: FGS permissions not declared in the merged manifest (running unpromoted)

Is there a recommended way to use polygon geofencing on android going forward?

Thanks
Chris

[Optional] Plugin Code and/or Config

[Optional] Relevant log output

Dominant language
Dart
Stars
732
Forks
287
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from transistorsoft/flutter_background_geolocation

All issues in transistorsoft/flutter_background_geolocation

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.