element-hq / element-hq/element-meta

[Story] EX LLS: Check and prompt for location access at the very beginning

Open
#3,151 9 comments 0 reactions 0 assignees View on GitHub
App: ElementX Android App: ElementX iOS T-User Story Team: Element X Platform
Dominant language
No language data
Stars
112
Forks
25
Avg merge
6h 6m
Merged PRs (30d)
4

Description

### Description

When the user selects _Location_ from the composer, the behaviour is driven by what’s the current access to the device’s location:
* No access - open the map with some arbitrary location.
* Ask - prompt the user for access.
* Some access - open the map with the current location.

When a user, Bob, opens the map because another user, Alice, shared her location:
* Show Bob's current location if there's access to location but do not request it if that is not the case.
* Request the location if Bob taps on the _Go to my location_ button on the map.

**Designs**:
* Select Location: [iOS](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=158-9502&t=J1otoRQsQhMZkF2f-4) [Android](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=58-13702&t=J1otoRQsQhMZkF2f-4)
* Prompt permissions: [iOS](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=158-9780&t=J1otoRQsQhMZkF2f-4) [Android](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=158-16681&t=J1otoRQsQhMZkF2f-4)
* Map without current location: [iOS](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=158-9791&t=J1otoRQsQhMZkF2f-4) [Android](https://www.figma.com/design/GLTPPjxeU0qaszZQIoqdkI/ER-143--Live-Location-Sharing?node-id=158-16691&t=J1otoRQsQhMZkF2f-4)

# Acceptance criteria
- TBD

# Dependencies
- None

# Out of scope
- Nothing

# Questions
- [x] None

# Subtasks

### Android
-

### iOS
-

### Rust
-

### Other
-

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.