Comments (5)
On Android 11, after location tracking has been enabled for a while it sometimes shuts off while the "Toggle location tracking" button is still set to "Running". This becomes apparent as no new locations are registered. When toggling the button, the status does not change from "Running" to "Stopped" as expected, but stays on "Running". Clicking it again switches it to "Stopped".
This issue is usually observed after a period of inactivity of the phone (eg in the morning after sleeping). So far I had no success in reproducing the bug with a short period of inactivity during the day (I tried airplane mode and battery saver mode). I also so far haven't been able to reproduce the bug on an emulated device in Android Studio.
from simport-learning-app.
I was able to capture a log of the bug on a Pixel 4a, see attached. After no locations were logged in several hours even though the
tracking was set to "Running", captured in the log is when I clicked the button three times, resulting in the in-app button being displayed as Running -click-> Running -click-> Stopped -click-> Running
after which point the tracking was started again as expected.
from simport-learning-app.
Quick update:
Unfortunately the logs are not revealing any issues on this problem. I'm currently testing the location-updates on an Android 11 with the changes that I made so far (on branch feature/android-location-updates
) and probably can report back on the next weekly.
from simport-learning-app.
I'll also test the current state of this branch with some Android devices. I think the issue @jbraese observed was actually twofold: First the tracking stops at a certain point / is stopped (by the OS?). Second, the UI was not updated properly. For now, I would say we can only mitigate the second problem to a certain extent.
from simport-learning-app.
Testing the current state of this branch on Android 7.0 the tracking worked for five days and then stopped. Again, I had to click on the Start/Stop-Button multiple times until I was able to start the location tracking again (button seemed to be stuck in running state).
from simport-learning-app.
Related Issues (20)
- Update filter view? HOT 1
- Enhance inference list HOT 1
- Publish updated App in Google Play Store beta lane HOT 1
- Example trajectory does not load in freshly installed app
- Adjust filter view HOT 3
- Check current dev state: Is feature set complete? HOT 4
- Replace inference info toast with modal HOT 2
- Update inference quality indicator HOT 1
- Cluster inference markers HOT 2
- Adjust wording on inference page/modal and filter view HOT 1
- Replace continuous inference indicator with discrete indicator?
- Export creation, last edit date and date set by user in diary export
- remove compute inferences button on map for study setup
- adjust staypoint clustering parameters for POI computation
- remove notification toggle from tracking menu
- research: When do we toggle notificaitons? HOT 1
- Filter on map: No text for English translation? HOT 4
- Tweak inference and POI computation HOT 1
- check inference indicator bar HOT 1
- fix export of diary/trajectory
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 simport-learning-app.