Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live location sharing sends only a single update #7887

Open
svkers opened this issue Dec 28, 2024 · 2 comments
Open

Live location sharing sends only a single update #7887

svkers opened this issue Dec 28, 2024 · 2 comments
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@svkers
Copy link

svkers commented Dec 28, 2024

Steps to reproduce

Description:

When using the Element iOS app to share a live location, the app sends only a single location update instead of continuously updating the location over time. This issue persists despite enabling all necessary permissions (location services permissions for Element app set to always allow) and verifying settings (background app refresh is enabled for Element).

Steps to Reproduce:

  1. Open the Element iOS app
    Element 1.11.22 (20241210111108)
    Matrix SDK 0.27.17
  2. Join a room and select the option to share a live location.
  3. Choose a duration (e.g., 15 minutes, 1 hour) for live location sharing.
  4. Share the live location in the room.

Outcome

Expected Outcome:

When live location sharing is initiated, the Element iOS app should:

  1. Send Location Updates Periodically:
  • The app should periodically send updated location events (e.g., every few seconds or minutes, depending on the implementation) to the room for the entire duration selected by the user (e.g., 15 minutes, 1 hour).
  1. Respect the Selected Duration:
  • The app should automatically stop sending location updates once the selected duration expires.
  1. Function in the Background:
  • If the app is minimized or running in the background, location updates should continue to be sent as long as:
    • Location permissions are set to Always Allow.
    • Background App Refresh is enabled.
  1. Show Visual Indicators:
  • The user should see a visual indicator (e.g., a persistent banner or icon) in the app or system to confirm that live location sharing is active.
  1. Correctly Expire Updates:
  • The shared location should be removed or marked as expired in the room once the selected duration ends.

Your phone model

iPhone SE

Operating system version

iOS version 18.2

Application version

Element 1.11.22 (20241210111108)

Homeserver

matrix.org

Will you send logs?

No

@svkers svkers added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Dec 28, 2024
@svkers svkers changed the title Live Location Sharing Sends Only a Single Update Live location sharing sends only a single update Dec 28, 2024
@svkers
Copy link
Author

svkers commented Dec 29, 2024

Update:

After further testing, I observed the following behavior:

  • When I tested live location sharing while remaining stationary (e.g., sitting at my desk), the app sent only a single location update at the time I started sharing.
  • However, when I tested live location sharing while moving, the app worked as expected, periodically sending location updates to the server.

Question:

Is the live location sharing feature in the Element iOS app designed to only send updates when the user's location changes?

Thank you for your attention to this matter! I look forward to your response.

@toshanmugaraj
Copy link
Contributor

  1. Yes, it sends updates when the user's location changes. But below configuration sets it less accurate while saving battery.
  2. There is distance filter set 200 meter, its supposed to update for every 200 meters
  3. Accuracy is set around 10 meters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

2 participants