termux / termux/termux-api

Can't send notifications

Open
#830 1 comment 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

For some reason termux-api's termux-notification doesn't send a notification on my device because the "Device and app notifications" setting for it is turned off on my device and I can't turn it on because it says "Restricted setting: For your security, this setting is currently unavailable." and I can't find a way to get past it on Android 14 (my Android version)??? Please fix this. (also the specific permission you need in the AndroidManifest.xml is POST_NOTIFICATIONS and has to be requested at runtime)

Image

Image

Additional Information
Termux:API version: 0.53.0
Android OS version: 14

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 with AndroidManifest.xml and the implementation behind termux-notification, then trace how notification permission is handled on Android 14. The issue identifies POST_NOTIFICATIONS and says it must be requested at runtime; done means notifications can be enabled and sent on the reported Android version.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.