You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
Some commands, or commands used the first time in a while, have precisely 1-minute delay between the time you sent them and a command execution.
For example, for adb there's a one-minute gap after plugging in a device and having it show in termux-adb. For termux-fastboot, any termux-fastboot command will take a minute to execute. First time executing termx-toast {message} takes a minute.
Observed with:
termux-adb (doesn't show device one minute. And it's definitely Termux:API issue)
termux-fastboot (one minute wait for every command. And it's definitely Termux:API issue)
termux-location (one minute wait for every command)
Run termux-adb devices and see how the whole nothing happened and there's no connected devices
Wait for a roughly 1 minute, check termux-adb devices and behold how the device has randomly appeared
Scenario №2 (still with termux-adb):
Plug any phone in yours
Run termux-fastboot devices and observe how the whole nothing happens for a minute (the other device doesn't even have to be in fastboot)
Scenario №3:
Open Termux with termux-api and Termux:API app installed, but with no commands executed before. It has to be some time, terminating Termux:API or Termux doesn't cause it.
Execute termux-toast hello, it should take exactly one minute to give the toast
Scenario №4:
Just execute termux-location and wait a minute (precisely) for nothing
Expected behavior
Commands shouldn't take a minute to execute
Additional information
termux-api application version: 0.50.1
termux-api package version (installed through apt): 0.58.0-1
Android OS version: 14
Device model: Ulefone Armor 21, but I've seen other people with the same issue on other devices.
The text was updated successfully, but these errors were encountered:
I've tried termux-monet with it's API and it doesn't have this issue, delays are pretty normal and reasonable, ~1 second, for termux-adb with termux-fastboot and termux-toast with termux-location.
Problem description
Some commands, or commands used the first time in a while, have precisely 1-minute delay between the time you sent them and a command execution.
For example, for adb there's a one-minute gap after plugging in a device and having it show in termux-adb. For termux-fastboot, any termux-fastboot command will take a minute to execute. First time executing
termx-toast {message}
takes a minute.Observed with:
Steps to reproduce
For my use case its termux-adb: https://github.com/nohajc/termux-adb (No, the issue IS NOT on termux-adb side)
To reproduce (with my use case)
termux-adb devices
and see how the whole nothing happened and there's no connected devicestermux-adb devices
and behold how the device has randomly appearedScenario №2 (still with termux-adb):
termux-fastboot devices
and observe how the whole nothing happens for a minute (the other device doesn't even have to be in fastboot)Scenario №3:
termux-toast hello
, it should take exactly one minute to give the toastScenario №4:
Expected behavior
Commands shouldn't take a minute to execute
Additional information
The text was updated successfully, but these errors were encountered: