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

Doesnt work in Deep Doze mode #7

Open
mudassirzulfiqar opened this issue Jan 11, 2021 · 1 comment
Open

Doesnt work in Deep Doze mode #7

mudassirzulfiqar opened this issue Jan 11, 2021 · 1 comment

Comments

@mudassirzulfiqar
Copy link

Describe the problem
I have been playing around with Android's geofence API for about 2 years. I notice a problem that because of battery saving modes in some manufacturers, The geofence intent never got triggered. Geofences are dependent on various aspects like if your app never opened for a day , you intent may get killed by OS.

How to reproduce?

  • Add different regions
  • Put your phone into Doze mode by using adb

Versions

  • Latest version of Android studio.
  • Just cloned this project

Additional information
There are many same issue has been posted on Stack Over flow about GeoFence doesn't get trigger. The API doesnt send any information about when it will be fail or any thing?

codelab: advanced-android-kotlin

@zaher88abd
Copy link

I have the same issue, where the app not reading the location in the background, even after getting the permissions. Also, I am looking for the solution I hope you found it. Please, let me know.

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

2 participants