安卓APP内打开高德地图报错,无法获取定位,报错信息如下
Open
- Dominant language
- C++
- Stars
- 18.5k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
[JS Framework] Failed to execute the callback function:
TypeError: Cannot read property 'points' of undefined
10:14:06.314 reportJSException >>>> exception function:WEEX_CALL_JAVASCRIPT, exception:JavaScript execute error!Uncaught TypeError: Cannot read property 'points' of undefined
at (/__uniappchooselocation.js.nvue:1:28376)
Contributor guide
Research direction
Start by reproducing the Android app failure when opening Amap and inspect the reported /__uniappchooselocation.js.nvue location around line 1:28376. Trace why the callback reads points from an undefined value; done means location can be obtained without the reported JavaScript exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100