termux / termux/termux-api

termux-toast does not show

Open
#229 8 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

All termux-api commands are working for me – but not termux-toast.
Executing termux-toast "some text" runs and gives exit code 0, but no toast message appears.

$ termux-toast "hello world!"`
$ echo $?
0

I modified source, so an error message is logged, when the toast panel should appear:

# logcat -d > logcat_toast.log – watch for "toast" tag – nothing seems to relate to the toast… (besides the manualy added log of cource).

My device is a huawei honor 6x (BLN-L21) – android 7.0 nougat.
Same issue when I install termux and termux-api from play store or fdroid.
termux-api package is installed, all kinds of permissions granted…

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 the issue with the termux-toast command on the reported Android device configuration, then inspect logcat while watching for the toast tag. Done means the command displays the requested toast message and its behavior is verified against the installed Termux and termux-api packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.