Download Latest Version v0.53.0 source code.zip (710.6 kB)
Home / v0.52.0
Name Modified Size InfoDownloads / Week
Parent folder
checksums-sha256.txt 2025-05-22 106 Bytes
termux-api-app_v0.52.0+github.debug.apk 2025-05-22 8.9 MB
README.md 2025-05-22 4.3 kB
v0.52.0 source code.tar.gz 2025-05-22 263.5 kB
v0.52.0 source code.zip 2025-05-22 709.6 kB
Totals: 5 Items   9.8 MB 0

v0.52.0 - 2025-05-22 10:50

Commit history: v0.51.0...v0.52.0

Changelog ### Fixed - Bump `termux-shared` to `da3a0ac4e2`. Related commit https://github.com/termux/termux-app/commit/4de0caac. Related commit https://github.com/termux/termux-app/commit/da3a0ac4. Related commit https://github.com/termux/termux-api/commit/28bc8c85. ([`a3a231e6`](https://github.com/termux/termux-api/commit/a3a231e6)) - JobSchedulerAPI: Fix `ResultReturner.returnData()` being called multiple times for different printing since 51a02f4f and 61262f75 throwing `Connection refused` exceptions for calls after the first one instead of printing, and also refactor actions out to functions and change action output format. The `ResultReturner.returnData()` will be called once for each action. The schedule job action will not print all pending jobs at end and only the pending job that was scheduled if successful. Users should use `termux-job-scheduler -p` to get all pending jobs. The `termux-job-scheduler --p` action will print `No jobs found` instead of `No pending jobs` if no pending job exists. The `termux-job-scheduler --cancel-all` action will now print all jobs to be cancelled, or `No jobs found` found. The job description will use `4` spaces instead of a tab after the path. Closes [#762](https://github.com/termux/termux-api/issues/762), Closes [#773](https://github.com/termux/termux-api/issues/773). ([`6fbf61aa`](https://github.com/termux/termux-api/commit/6fbf61aa)) - Fix `termux-notification --icon` not working for release builds as icon drawables were being removed by resource shrinker possibly related to 6ef2618f. Use standard Android API to get resource id for drawable icon instead of using reflection into drawable class. Additionally use `String.format()` so that resource shrinker does not remove icons used by `NotificationAPI` for release builds. Closes [#483](https://github.com/termux/termux-api/issues/483). ([`1639e73f`](https://github.com/termux/termux-api/commit/1639e73f)) - Fix `termux-notification` actions not updating or conflicting between notifications due to same request code being used for the `PendingIntent` of all actions and also specify `PendingIntent.FLAG_IMMUTABLE` to prevent any modification. - https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability. Closes [#677](https://github.com/termux/termux-api/issues/677), Closes [#764](https://github.com/termux/termux-api/issues/764). ([`7c1759a3`](https://github.com/termux/termux-api/commit/7c1759a3)) - BatteryStatusAPI: Output double value instead of string for temperature field with value rounded up to 1 decimal place. ([`97b41002`](https://github.com/termux/termux-api/commit/97b41002)) - Manually add stack trace of caller function that called `ResultReturner.returnData()` to exception messages as exceptions thrown inside `Runnable` lambda thread will not include it by default. ([`922f3585`](https://github.com/termux/termux-api/commit/922f3585)) - Fix disabling obfuscation added in 6ef2618f caused due to wrong proguard file being used. This caused Termux classes like `ReportInfo` to be obfuscated making stacktraces harder to read. Related commit https://github.com/termux/termux-app/commit/da3a0ac4. ([`28bc8c85`](https://github.com/termux/termux-api/commit/28bc8c85)) - Explicitly specify `PendingIntent.FLAG_MUTABLE` flag for `PendingIntent` passed to `NfcAdapter.enableForegroundDispatch()`. ([`5040a66f`](https://github.com/termux/termux-api/commit/5040a66f)) - Check if `NfcAdapter` is available and not `null` in `NfcActivity.onResume()` in addition to `onCreate()` before calling its methods otherwise would trigger a `NullPointerException`. ([`4ba140dd`](https://github.com/termux/termux-api/commit/4ba140dd)) - Fix `termux-nfc -t x` resulting in error notification being shown as method was not returned from after sending error resulting in `ResultReturner.returnData()` being called twice. ([`c986fb09`](https://github.com/termux/termux-api/commit/c986fb09)) ---  
Source: README.md, updated 2025-05-22