termux / termux/termux-api

Implementing termux-location on Android 12 Asus ROG 3 termux api error

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

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

termux-plugin_execution_command.log

Problem description
When I run termux-location on my phone Asus Rog 3 running Android 12, termux API app reports error which I attached below and in termux app no output.

But termux-location -p network is working fine.

Steps to reproduce
termux-location -p gps -r once
termux-location
termux-location -p gps -r updates

Expected behavior
A clear and concise description of what you expected to happen.

It should give a json output of latitude and longitude with time and accuracy.

Additional information

  • termux-api application version: 0.52.0
  • termux-api package version (installed through apt): 0.59.1
  • Android OS version: 12
  • Device model: ASUS_I003DD (Asus Rog 3)

Contributor guide

No contributing guide indexed for this repository

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 reviewing the attached termux-plugin_execution_command.log and reproducing the listed termux-location commands on the reported Android 12 device context. Compare the GPS and network behaviors; done means the GPS commands return the expected JSON latitude, longitude, time, and accuracy output or the failure is clearly characterized.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.