NativeScript / NativeScript/plugins
[Geolocation] enableLocationRequest is failing on Android
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 206
- 分支
- 123
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 1
描述
It sounds like enableLocationRequest() is making basic permission requests but needs to allow the fine-grain perms as options if you need them.
if you end up getting this bellow error during the request for permission
JS: ERROR Error: java. lang.SecurityException: my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION for now we might need to use the https://github.com/nativescript-community/perms plugin to request permission on Andriod until it is fixed.
We need to fix this or add this note to the Readme.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 enableLocationRequest() 入口點開始,重現會引發所回報之 SecurityException 的 Android 權限請求。查看 README 中現有的權限說明,並將目前行為與所參照的 nativescript-community/perms 外掛程式進行比較;當該請求能夠正常取得所需的位置權限,或 README 明確記錄此限制時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, typescript
- 領域
- mobile-dev
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100