Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Geofencing trigger does not work in Doze state #303

Open
sjcoala opened this issue Sep 23, 2022 · 0 comments
Open

Geofencing trigger does not work in Doze state #303

sjcoala opened this issue Sep 23, 2022 · 0 comments

Comments

@sjcoala
Copy link

sjcoala commented Sep 23, 2022

I am working on a project using geofencing technology.

Geofencing trigger does not work in Doze state.
Receiver doesn't seem to work in Doze state.
Notifications don't happen.

How do I get geofencing triggers even in doze state?

[Code Change]
The contents of GeofenceTransitionsJobIntentService.java have been moved to the GeofenceBroadcastReceiver.java.
(Because JobIntentService is deprecated)
And I deleted the file "GeofenceTransitionsJobIntentService.java"

[Build]

  • compileSdk 31
  • targetSdk : 31

[Test machine]

  • Galaxy S10
  • Android 12

[App Permissions]

  • location service : always allowed
  • background location : allowed
  • Battery Optimization : unlimited
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant