NativeScript / NativeScript/plugins
[@nativescript/geolocation] getCurrentLocation() not working in NS8
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
getCurrentLocation() returned an error in NativeScript 8:
Error: Cannot enable the location service. TypeError: Cannot read property 'Accuracy' of undefined
I'm using the latest version "@nativescript/geolocation": "8.1.0"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing getCurrentLocation() with @nativescript/geolocation 8.1.0 under NativeScript 8 and trace why Accuracy is undefined while enabling the location service. Done means the call no longer returns the reported error; the issue does not mention a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100