NativeScript / NativeScript/plugins

[nativescript/geolocation] watchLocation() android10

Open
#117 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Found that when use the plugin background service to track gps is not capturing gps if device is idle and inside vehicle.. like plugin cannot detect vehicle movement. Although it can detect my walking move after being idle for a longtime .any idea?
To replicate .. 1- leave device with app opened inside vehicle.
2- vehicle not moving for more than waiting +30min.
3- vehicle start to move :)
No gps will be collected

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the geolocation plugin's Android background-service handling and reproduce the reported sequence: leave the app open while the device is idle in a vehicle for over 30 minutes, then move it. Done means GPS locations are collected after movement begins; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.