Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
35aced0
Update debug_build.yml
agnostic-apollo Jul 2, 2021
63e7645
Changed: Use termux-shared
agnostic-apollo Mar 16, 2021
2f99a4e
Changed: Bump android gradle plugin to 4.2.2
agnostic-apollo Sep 5, 2021
9355504
Changed: Disable shrinkResources and obfuscation for testing reproduc…
agnostic-apollo Sep 5, 2021
ea8ea30
Changed: Bump gradle to 7.2
agnostic-apollo Sep 5, 2021
e0d184e
Changed: Update .gitignore
agnostic-apollo Sep 5, 2021
d0e8805
Fixed: Fix "android.view.WindowManager$BadTokenException: Unable to a…
agnostic-apollo Sep 5, 2021
705361e
Added: Automatically attach debug APKs when a release is created
agnostic-apollo Sep 5, 2021
d9a172d
Fixed: Fix potential conflicting PendingIntent for execution commands…
agnostic-apollo Sep 5, 2021
1c1567f
Added: Add support for %stdout_original_length and %stderr_original_l…
agnostic-apollo Sep 9, 2021
fecba50
Added: Add support for waiting for foreground session commands
agnostic-apollo Sep 9, 2021
a5bcd56
Changed: Increase blurb length from 60 to 120 since Tasker doesn't ha…
agnostic-apollo Sep 9, 2021
f6e3368
Fixed: Handle unlikely case where failed to get version code to gener…
agnostic-apollo Sep 9, 2021
05af1af
Added/Updated: Add support for stdin for background commands and rede…
agnostic-apollo Sep 11, 2021
267cf61
Updated: Do not automatically open keyboard when opening plugin confi…
agnostic-apollo Sep 11, 2021
49acd10
Fixed: Fix NullPointerException if arguments extra is not passed to F…
agnostic-apollo Sep 11, 2021
6f6ddd0
Added: Add support for session action for foreground commands
agnostic-apollo Sep 11, 2021
5bf1518
Added: Add support for custom log level for background commands
agnostic-apollo Sep 11, 2021
dfcdb42
Changed: Bump termux-shared to 819571a03a
agnostic-apollo Sep 11, 2021
0800c21
Update README.md
agnostic-apollo Sep 11, 2021
529757d
Merge pull request #49 from agnostic-apollo/master
agnostic-apollo Sep 11, 2021
59847bc
Update README.md
agnostic-apollo Sep 12, 2021
cf1eda4
Add LICENSE.md
agnostic-apollo Sep 22, 2021
2eca337
Added: Send plugin github repo url to TermuxService to be shown in ca…
agnostic-apollo Sep 22, 2021
a80fe8f
Changed: Trim arguments length to 20 in blurb
agnostic-apollo Sep 22, 2021
d8b99ba
Added: Add termux library docs url to build.gradle
agnostic-apollo Sep 23, 2021
4920bcd
Changed: Move to semantic versioning for app version and add commit h…
agnostic-apollo Jan 8, 2022
8f81456
Changed: Remove termux-emulator JNI libs from APK
agnostic-apollo Jan 8, 2022
ea1225a
Docs: Update install instructions
agnostic-apollo Jan 8, 2022
f86a675
Docs: Update plugin configuration instructions
agnostic-apollo Jan 8, 2022
8182817
Docs: Update debugging instructions
agnostic-apollo Jan 8, 2022
78fbc00
Docs: Add contributing and forking info
agnostic-apollo Jan 8, 2022
17c6942
Docs: Add google play store deprecation notice
agnostic-apollo Jan 8, 2022
77f26d7
Changed: Bump termux-shared from 819571a03a to 68cdbd6ff4 and make ch…
agnostic-apollo Feb 19, 2022
a32f8d0
Changed: Set DEFAULT_LOG_TAG at application startup as per termux/ter…
agnostic-apollo Feb 19, 2022
a0aaf8e
Fixed: Fix wrong error string returned for null plugin bundle
agnostic-apollo Feb 19, 2022
59b12dc
Changed: Bump dependencies versions
agnostic-apollo Feb 19, 2022
2bdab10
Changed: Fix indents
agnostic-apollo Feb 19, 2022
b2cc90b
Added: Add Day/Night theme support for `EditConfigurationActivity` ba…
agnostic-apollo Feb 20, 2022
26e1f5e
Changed: Keep plugin config values when saving even if they wont be u…
agnostic-apollo Feb 20, 2022
70d97e7
Changed: Enable background mode and wait for results toggle for new p…
agnostic-apollo Feb 20, 2022
8b86e05
Added: Add explicit exported attribute for app components as required…
agnostic-apollo Feb 20, 2022
059c978
Added: Add launcher icon/activity that can optionally be disabled
agnostic-apollo Feb 20, 2022
fe855c8
Changed: Change plugin fields error color to red since it was showing…
agnostic-apollo Feb 20, 2022
16f90c5
Changed: Make session action and background custom log level fields c…
agnostic-apollo Feb 20, 2022
df834c5
Docs: Fix typo
agnostic-apollo Feb 20, 2022
d089aa7
Added: Add fastlane metadata for F-Droid
agnostic-apollo Feb 21, 2022
51451ac
Changed: Bump to v0.6.0
agnostic-apollo Feb 21, 2022
0afbce7
Docs: Fix wrong code block indent
agnostic-apollo Mar 2, 2022
6e67c35
Removing redundant "require"
adamjhogan Mar 6, 2022
cdf0561
Merge pull request #63 from collyrium/patch-1
agnostic-apollo Mar 7, 2022
9012a80
Fix typo in msg_disable_launcher_icon_details
Jul 4, 2022
78130a8
Fixed: Do not use colon character ":" in log tag as per termux/termux…
agnostic-apollo Mar 11, 2022
10cc047
Changed|Fixed: Bump down `minSdkVersion` from `24` to `21` to restart…
agnostic-apollo Aug 23, 2022
c5c4623
rename dev_keystore.jks to testkey_untrusted.jks
Sep 21, 2022
9d0743d
Create dependabot.yml
landfillbaby Nov 7, 2022
bc12cb3
Bump actions/checkout from 2 to 3 (#74)
dependabot[bot] Nov 7, 2022
13ca4e0
Bump actions/upload-artifact from 2 to 3 (#75)
dependabot[bot] Nov 7, 2022
4a5b5f8
Changed: Bump gradle to `7.5`, gradle android plugin to `7.4.2` and `…
agnostic-apollo Mar 16, 2023
f17259c
Changed: Use Java `11` for `sourceCompatibility` and `targetCompatibi…
agnostic-apollo Mar 16, 2023
74cf059
Changed: Bump `termux-shared` to `b800f1cc81`
agnostic-apollo Mar 16, 2023
765e808
Changed: Bump gradle dependency versions
agnostic-apollo Mar 16, 2023
3518815
Fixed: Fix `Duplicate class com.google.common.util.concurrent.Listena…
agnostic-apollo Mar 16, 2023
4a61e61
Fixed: Fix `Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt…
agnostic-apollo Mar 16, 2023
1b32313
Changed: Remove `android.enableJetifier=true` since its not needed an…
agnostic-apollo Mar 16, 2023
b29b2ac
Fixed: Fix typo for `RUN_COMMAND` intent
GiorgosXou Dec 21, 2022
892bb45
Fixed: Fix headings in README.md
agnostic-apollo Jul 30, 2023
3f87849
Bump actions/checkout from 3 to 4 (#96)
dependabot[bot] Oct 14, 2023
6ef79a1
Bump actions/upload-artifact from 3 to 4 (#100)
dependabot[bot] Jan 1, 2024
6fb138c
Changed!: Rename `app/build.gradle` environmental variables to `TERMU…
agnostic-apollo Apr 15, 2024
9a64c57
Added|Changed!: Change `sha256sums` filename to `checksums-sha256.txt…
agnostic-apollo Apr 15, 2024
ee0626d
Changed: Rename workflow filename of `debug_build.yml` to `github_act…
agnostic-apollo Apr 16, 2024
d77e47c
Fixed: Fix pull request APK version commit hash for GitHub Action builds
agnostic-apollo Apr 16, 2024
aa5b487
Changed: Update references for `github_action_build.yml` and `github_…
agnostic-apollo Apr 16, 2024
17391b5
Changed!: Use dot `.` as tags separator instead of dash `-` for `gith…
agnostic-apollo Apr 16, 2024
f84928f
Changed!: Add `-app` suffix to app name and add version name in APKs …
agnostic-apollo Jun 22, 2024
a57bca1
Changed: Use GitHub `cli` instead of `hub` for uploading GitHub relea…
agnostic-apollo Apr 16, 2024
8163a86
Added: Add `workflow_dispatch` and `cron` schedule for "00:15 on 1st …
agnostic-apollo Apr 16, 2024
ec6349b
Changed: Rename `minSdkVersion` to `minSdk`, `targetSdkVersion` to `t…
agnostic-apollo Apr 17, 2024
6d344ff
Changed!: Rename `app/build.gradle` environmental variables to `TERMU…
agnostic-apollo Dec 18, 2024
b3b1661
Changed: Bump gradle to `8.9`, gradle android plugin to `8.7.3` and `…
agnostic-apollo Dec 22, 2024
78a2b4b
Changed: Use fully qualified name for resource variable references of…
agnostic-apollo Dec 22, 2024
4aa977a
Changed: Update gradle dependencies
agnostic-apollo Dec 22, 2024
80b61b2
Changed: Fix class variable names convention for `EditConfigurationAc…
agnostic-apollo Dec 22, 2024
07f8694
Changed: Rename `TermuxTaskerActivity` to `TermuxTaskerMainActivity` …
agnostic-apollo Aug 18, 2024
3c60178
Changed: Rename `TermuxTaskerActivity` to `TermuxTaskerMainActivity` …
agnostic-apollo Dec 22, 2024
35a6ea0
Changed: Bump `termux-shared` to `b0e1dbc3da`
agnostic-apollo Dec 22, 2024
f7401b7
Changed: Set `DEFAULT_LOG_TAG` at application startup as per termux/t…
agnostic-apollo Dec 23, 2024
fee0c44
Added: Update arguments processing docs to be more clear
agnostic-apollo Dec 22, 2024
a01c1ee
Changed: Replace `/storage/emulated/0` path in examples with `/sdcard…
agnostic-apollo Dec 22, 2024
b4aae98
Release: v0.7.0
agnostic-apollo Dec 22, 2024
655403d
Changed: Bump `termux-shared` to `9ee1c9d5ad`
agnostic-apollo May 1, 2025
0c6f4b7
Changed: Bump `termux-shared` to `da3a0ac4e2`
agnostic-apollo May 22, 2025
20644dc
Added: Add `SECURITY.md`
agnostic-apollo Jun 25, 2025
659c5b0
Changed: Bump termux-shared to 7bceab88e2
agnostic-apollo Jul 12, 2025
40defca
Fixed: Add `PendingIntent` immutability flags to prevent `Warning: Mi…
agnostic-apollo Sep 1, 2025
1c0912d
Release: v0.8.0
agnostic-apollo Sep 1, 2025
becc67c
Fixed: Fix background tasks not working for older versions of Termux …
agnostic-apollo Sep 2, 2025
f08f83b
Release: v0.9.0
agnostic-apollo Sep 2, 2025
cc1bf1c
Changed: Bump termux-shared to 8aca6dbbf4
agnostic-apollo Oct 29, 2025
dbf685f
Bump actions/upload-artifact from 4 to 5 (#121)
dependabot[bot] Nov 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
18 changes: 0 additions & 18 deletions .github/workflows/debug_build.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/github_action_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: GitHub Action Build

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "15 0 1 */2 *"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Build
shell: bash {0}
run: |
exit_on_error() { echo "$1"; exit 1; }

echo "Setting vars"

if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
GITHUB_SHA="${{ github.event.pull_request.head.sha }}" # Do not use last merge commit set in GITHUB_SHA
fi

# Set RELEASE_VERSION_NAME to "<CURRENT_VERSION_NAME>+<last_commit_hash>"
CURRENT_VERSION_NAME_REGEX='\s+versionName "([^"]+)"$'
CURRENT_VERSION_NAME="$(grep -m 1 -E "$CURRENT_VERSION_NAME_REGEX" ./app/build.gradle | sed -r "s/$CURRENT_VERSION_NAME_REGEX/\1/")"
RELEASE_VERSION_NAME="v$CURRENT_VERSION_NAME+${GITHUB_SHA:0:7}" # The "+" is necessary so that versioning precedence is not affected
if ! printf "%s" "${RELEASE_VERSION_NAME/v/}" | grep -qP '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'; then
exit_on_error "The release version '${RELEASE_VERSION_NAME/v/}' generated from current version '$CURRENT_VERSION_NAME' is not a valid version as per semantic version '2.0.0' spec in the format 'major.minor.patch(-prerelease)(+buildmetadata)'. https://semver.org/spec/v2.0.0.html."
fi

APK_DIR_PATH="./app/build/outputs/apk/debug"
APK_VERSION_TAG="$RELEASE_VERSION_NAME.github.debug" # Note the ".", GITHUB_SHA will already have "+" before it
APK_BASENAME_PREFIX="termux-tasker-app_$APK_VERSION_TAG"

# Used by upload step later
echo "APK_DIR_PATH=$APK_DIR_PATH" >> $GITHUB_ENV
echo "APK_VERSION_TAG=$APK_VERSION_TAG" >> $GITHUB_ENV
echo "APK_BASENAME_PREFIX=$APK_BASENAME_PREFIX" >> $GITHUB_ENV

echo "Building APK file for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag"
export TERMUX_TASKER_APP__BUILD__APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
export TERMUX_TASKER_APP__BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
if ! ./gradlew assembleDebug; then
exit_on_error "Build failed for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag."
fi

echo "Validating APK file"
if ! test -f "$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk"; then
files_found="$(ls "$APK_DIR_PATH")"
exit_on_error "Failed to find built APK file at '$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk'. Files found: "$'\n'"$files_found"
fi

echo "Generating checksums-sha256.txt file"
if ! (cd "$APK_DIR_PATH"; sha256sum "${APK_BASENAME_PREFIX}.apk" > checksums-sha256.txt); then
exit_on_error "Generate checksums-sha256.txt file failed for '$RELEASE_VERSION_NAME' release."
fi
echo "checksums-sha256.txt:"$'\n```\n'"$(cat "$APK_DIR_PATH/checksums-sha256.txt")"$'\n```'

- name: Upload files to action
uses: actions/upload-artifact@v5
with:
name: ${{ env.APK_BASENAME_PREFIX }}
path: |
${{ env.APK_DIR_PATH }}/${{ env.APK_BASENAME_PREFIX }}.apk
${{ env.APK_DIR_PATH }}/checksums-sha256.txt
${{ env.APK_DIR_PATH }}/output-metadata.json
64 changes: 64 additions & 0 deletions .github/workflows/github_release_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: GitHub Release Build

on:
release:
types:
- published

jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
ref: ${{ env.GITHUB_REF }}

- name: Build and upload files to release
shell: bash {0}
run: |
exit_on_error() {
echo "$1"
echo "Deleting '$RELEASE_VERSION_NAME' release and '$GITHUB_REF' tag"
hub release delete "$RELEASE_VERSION_NAME"
git push --delete origin "$GITHUB_REF"
exit 1
}

echo "Setting vars"
RELEASE_VERSION_NAME="${GITHUB_REF/refs\/tags\//}"
if ! printf "%s" "${RELEASE_VERSION_NAME/v/}" | grep -qP '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'; then
exit_on_error "The release version '${RELEASE_VERSION_NAME/v/}' is not a valid version as per semantic version '2.0.0' spec in the format 'major.minor.patch(-prerelease)(+buildmetadata)'. https://semver.org/spec/v2.0.0.html."
fi

APK_DIR_PATH="./app/build/outputs/apk/debug"
APK_VERSION_TAG="$RELEASE_VERSION_NAME+github.debug"
APK_BASENAME_PREFIX="termux-tasker-app_$APK_VERSION_TAG"

echo "Building APK file for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag"
export TERMUX_TASKER_APP__BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
if ! ./gradlew assembleDebug; then
exit_on_error "Build failed for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag."
fi

echo "Validating APK file"
if ! test -f "$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk"; then
files_found="$(ls "$APK_DIR_PATH")"
exit_on_error "Failed to find built APK file at '$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk'. Files found: "$'\n'"$files_found"
fi

echo "Generating checksums-sha256.txt file"
if ! (cd "$APK_DIR_PATH"; sha256sum "${APK_BASENAME_PREFIX}.apk" > checksums-sha256.txt); then
exit_on_error "Generate checksums-sha256.txt file failed for '$RELEASE_VERSION_NAME' release."
fi
echo "checksums-sha256.txt:"$'\n```\n'"$(cat "$APK_DIR_PATH/checksums-sha256.txt")"$'\n```'

echo "Uploading files to release"
if ! gh release upload "$RELEASE_VERSION_NAME" \
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk" \
"$APK_DIR_PATH/checksums-sha256.txt" \
; then
exit_on_error "Upload files to release failed for '$RELEASE_VERSION_NAME' release."
fi
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
build/
local.properties
release/
.gradle/
.idea/
*.iml

local.properties
github.properties
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The `termux/termux-tasker` repository is released under [GPLv3 only](https://www.gnu.org/licenses/gpl-3.0.html) license.
Loading