Comments (5)
Hi. Thanks for bringing this up.
When the observation mode is switched on the app should not send any new locations to the server.
If a location was sent to the server it will be cached for some time and I would think that is why you see them after enabling observation mode.
It takes around 5 minutes
from criticalmaps-ios.
Hi, thanks for replying :-)
Unfortunately, the location sharing seems to stop altogether after around 5 minutes, no matter, wether Observation Mode is turned on or off. I discovered this while playing with the settings for the Observation Mode. The only way to turn location sharing back on seems to be closing and re-opening the app -- and then again, after ca. 5 minutes, the markers disappear from the map (the map is also shown in a browser - firefox - on a different machine, not only in the apps on my 3 devices).
BTW, which part caches the location? The server or the app? Because closing the app results in nearly immediately vanishing markers from the map.
from criticalmaps-ios.
The server caches a sent location if no new location with the same id is sent.
It's correct that the location will disappear after around 5 minutes anyways since the app only will send a new location to the backend if the app generates a new one and that only happens if the user moves for roughly 200 meters.
Maybe it would be better to base sending a new location on a timer to like fetching other locations though since people sometimes need to wait.
I think I'll prototype that behavior and see if that doesn't increase the traffic too much
from criticalmaps-ios.
Please check the latest build from yesterday. Should resolve the issue
from criticalmaps-ios.
I just downloaded the app on all 3 of my devices (2 iPads, 1 iPhone), tried it and it seems to work. Thank you so much! Now I can express my solidarity even if I can't participate myself.
from criticalmaps-ios.
Related Issues (20)
- Showing users name on chats HOT 3
- Crash on iOS 14.2.1 HOT 11
- Map doesn't update after appearance change
- [iOS 14.5] Crash at every launch HOT 2
- Enabling event notifications does not prompt for permissions HOT 3
- Road to 4.0 HOT 1
- [4.0] Do a11y check on all views HOT 2
- [4.0] Add twitter feed to
- [4.0] update MapView to use SwiftUI 2 Map (with the research if that has all the features needed)
- [4.0] Links from tweets can be tapped and will open the URL HOT 2
- Add riding/watching prompt to map
- Does The Upcoming Events/Notifications Feature Work? HOT 5
- [A11Y] Modal views need `isModal` trait
- Changing Event Settings > Event Search Radius does not change radius on map HOT 8
- Use GeoJson on the map HOT 4
- I couldn't build the packages, is it the SPM issue? HOT 5
- time zones :) HOT 12
- App can't be installed from French or Belgian app stores HOT 3
- Location tracking at all times HOT 3
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 criticalmaps-ios.