termux / termux/termux-api

Can't toggle wifi in android 10

Open
#330 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I gave all permission to termux api,but can't toggle wifi with termux-wifi-enable true command, it's doesn't give any error even i can use all other api features like toggling torch, listing contact even wifi connection-info and wifi-scan-info etc. Since my termux-info command stuck it doesn't give any output so i provides an image for device info
IMG_20200228_112910

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 reproducing termux-wifi-enable true on Android 10 with the permissions and device details shown in the issue. Compare its behavior with the working Termux:API commands and investigate the wifi-toggle entry point; done means identifying why the command silently fails and making it toggle wifi or report the failure clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
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.