Comments (3)
Location permission must be set to "Allow all the time" for automated use.
It is also necessary to disable battery optimizations in this case.
See #116
from ulogger-android.
Location permission must be set to "Allow all the time" for automated use.
I'm pretty sure I'd set the location permission to "Allow all the time" when I first switched to this phone, but it seems to have dropped to "Allow only while using the app" at some point. Not sure when that happened, maybe from the recent Android 12 update. I've upped it to "Allow all the time" again and turned off removing unused permissions; after a reboot it seems to have logged an initial point so hopefully we're good now -- thanks for the hint.
Interestingly it's been working fine otherwise like this, after toggling the tracking off and on again once (even if the app is swiped away etc. it's not failed to track once it's got going, though opening the app isn't enough to start it even with the persistent notification).
It is also necessary to disable battery optimizations in this case.
OxygenOS' battery optimisation setting appears to be the "allow background activity" one, as that's where it sends you when you pick an app from the battery usage screen or if an app tries to open its own optimisation settings screen.
from ulogger-android.
Thanks for the update, glad it works!
Interestingly it's been working fine otherwise like this, after toggling the tracking off and on again once (even if the app is swiped away etc. it's not failed to track once it's got going, though opening the app isn't enough to start it even with the persistent notification).
"Allow all the time" option is needed when requesting location without user interaction. When you restart tracking from user gui it will work without it.
from ulogger-android.
Related Issues (20)
- Multiple user on a map HOT 1
- Automation not working properly on Android 13 HOT 3
- Not fetching location on Android 11 (Lineage 18) HOT 13
- Automation idea: `start new logger if synchronized` command HOT 4
- geoid height correction is missing HOT 5
- Burst upload generates 503 on my server HOT 1
- Feature Request: interval for live synchronization
- Sudden HTTP Error code 500 with Nextcloud/PhoneTracker HOT 3
- Exception: OCA\PhoneTrack\Controller\LogController::logUlogger(): Argument #2 ($lat) must be of type float, null given HOT 1
- mutual tls with client certificate [feature request] HOT 1
- Cannot upload location with images HTTP error 400 HOT 11
- Sotimes Upload getting 406 error HOT 1
- Reduce POST length in image Upload
- (dulicate due to network lag)Manual waypoint creation by external request?
- Manual waypoint creation by external request? HOT 1
- Can't download app via F-Droid HOT 5
- Week Rollover Problem persist HOT 1
- Number suffix for overwritten file appends to extension HOT 1
- Feature request: Use as a replacemrent for google location history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulogger-android.