AdevintaSpain / AdevintaSpain/Leku

There shouldn't be a default picked location!!

未關閉
#273 4 則留言 1 個 reaction 已指派 1 人 已被 @ferranpons 認領 在 GitHub 檢視
enhancement pending
主要語言
Kotlin
星號
779
分支
171
PR 合併指標
30 天內沒有已合併 PR

描述

**Is your feature request related to a problem? Please describe.**
Right now when we open the location picker it already pinned the default lat, long.

**Describe the solution you'd like**
There are three scenarios:

1. **Location service is on and we have the user's location:** The pin should be on the user's location by default.
2. **Location service is on but we don't have the user's location:** In this scenario, we show the default location but we don't pin anywhere on the map. As soon as we get the user's location if users didn't select any location yet we will pin the user's location.
3. **Location service is off and we don't have the user's location:** Like scenario 2 we will show the default location but we don't pin anywhere but when user press the user's location button we will ask the user to turn on the location service and then as soon as we get the user's location we will pin it.

貢獻指南

開啟貢獻指南

研究方向

Start at the Android location picker entry point and trace how the default latitude and longitude, the user's location, and the user's-location button are handled. Compare that flow with the three scenarios in the issue, including delayed location availability and location service being off. Done means no pin appears initially without a user location, while each described location-service case behaves as specified.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, kotlin
領域
mobile
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。