Skip to content

Releases

Latch 0.6.3

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:58

Latch 0.6.3

UI

  • Home: search rules by name / trigger; enabled rules sort first
  • Settings: seed colors as wrapping FilterChips (no overflow on small phones)

Docs

  • README badges + website/download links
  • Issue template + funding metadata

Full Changelog: v0.6.2...v0.6.3

Latch 0.6.2

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:36

Latch 0.6.0 — roadmap sprint

Trust

  • Monitor heal counter + “last seen” status
  • OEM battery tips (Xiaomi / Huawei / Samsung)
  • Why-didn’t-fire log (profile, condition, cooldown)
  • Last-fire time on each rule
  • Pause automation (Settings + Quick Settings tile)

Daily use

  • Profiles: Default / Home / Work / Sleep
  • Variables: %battery %ssid %time %date %profile
  • Dual conditions with AND/OR
  • Import / export recipes (recipes/ samples)

Appearance

  • Light / Dark / System theme
  • Seed color presets (Material-style schemes)

Ecosystem

  • Plugin broadcasts documented in Settings
  • Website index.html for GitHub Pages
  • Recipe JSON packs in repo

Full Changelog: v0.6.1...v0.6.2

Latch 0.6.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:01

Latch 0.6.0 — roadmap sprint

Trust

  • Monitor heal counter + “last seen” status
  • OEM battery tips (Xiaomi / Huawei / Samsung)
  • Why-didn’t-fire log (profile, condition, cooldown)
  • Last-fire time on each rule
  • Pause automation (Settings + Quick Settings tile)

Daily use

  • Profiles: Default / Home / Work / Sleep
  • Variables: %battery %ssid %time %date %profile
  • Dual conditions with AND/OR
  • Import / export recipes (recipes/ samples)

Appearance

  • Light / Dark / System theme
  • Seed color presets (Material-style schemes)

Ecosystem

  • Plugin broadcasts documented in Settings
  • Website index.html for GitHub Pages
  • Recipe JSON packs in repo

Full Changelog: v0.6.0...v0.6.1

Latch 0.6.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 10:49

Latch 0.6.0 — roadmap sprint

Trust

  • Monitor heal counter + “last seen” status
  • OEM battery tips (Xiaomi / Huawei / Samsung)
  • Why-didn’t-fire log (profile, condition, cooldown)
  • Last-fire time on each rule
  • Pause automation (Settings + Quick Settings tile)

Daily use

  • Profiles: Default / Home / Work / Sleep
  • Variables: %battery %ssid %time %date %profile
  • Dual conditions with AND/OR
  • Import / export recipes (recipes/ samples)

Appearance

  • Light / Dark / System theme
  • Seed color presets (Material-style schemes)

Ecosystem

  • Plugin broadcasts documented in Settings
  • Website index.html for GitHub Pages
  • Recipe JSON packs in repo

Full Changelog: v0.5.0...v0.6.0

Latch 0.5.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 09:41

Latch 0.5.0

Critical: monitor stays alive

  • Dedicated monitor notification channel (ongoing service)
  • Watchdog alarm every ~15 minutes restarts the service if the OS kills it
  • Restarts after task removed / service destroy
  • Settings: Disable battery optimization (strongly recommended)
  • Do Not Disturb access shortcut for DND actions

Clearer action fields

No more vague “Parameter” — each action has labeled fields, placeholders, and on/off pickers.

New triggers

User unlocked · Battery saver on/off · App installed/removed · Storage low · Dock · Shutdown

New actions

Media previous / play-pause · Alarm & ring volume · DND · Text-to-speech · Open app/system settings · HTTP GET

Leave at least one rule enabled and turn off battery optimization so automation keeps running overnight.

Full Changelog: v0.4.1...v0.5.0

Latch 0.4.1

Choose a tag to compare

@github-actions github-actions released this 15 Oct 14:52

Latch 0.4.0

Reliability

  • Single monitor path — receivers only in LatchMonitorService (no double-fire with UI)
  • Battery matching via pure RuleLogic (unit-tested): cross threshold + force on save/start
  • Wi‑Fi events debounced (800ms)
  • Day-of-week trigger fixed (was never firing)
  • Brightness uses manual mode + clear errors

Shizuku

  • Cached newProcess reflection, /system/bin/sh fallback, process timeouts
  • Binder received/dead listeners
  • Elevated helpers: airplane, mobile data, force-stop package

New actions

  • Force-stop app · Mobile data · Airplane mode (via Shizuku/su)

Quality

  • JVM unit tests for RuleLogic (battery, SSID, time window, day bits, brightness)
  • Settings Self-test button

Full Changelog: v0.4.0...v0.4.1

Latch 0.4.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 14:44

Latch 0.4.0

Reliability

  • Single monitor path — receivers only in LatchMonitorService (no double-fire with UI)
  • Battery matching via pure RuleLogic (unit-tested): cross threshold + force on save/start
  • Wi‑Fi events debounced (800ms)
  • Day-of-week trigger fixed (was never firing)
  • Brightness uses manual mode + clear errors

Shizuku

  • Cached newProcess reflection, /system/bin/sh fallback, process timeouts
  • Binder received/dead listeners
  • Elevated helpers: airplane, mobile data, force-stop package

New actions

  • Force-stop app · Mobile data · Airplane mode (via Shizuku/su)

Quality

  • JVM unit tests for RuleLogic (battery, SSID, time window, day bits, brightness)
  • Settings Self-test button

Full Changelog: v0.3.1...v0.4.0

Latch 0.3.1

Choose a tag to compare

@github-actions github-actions released this 15 Oct 14:27

Latch 0.3.1

Critical fix — rules actually run

  • Background monitor service keeps battery / Wi‑Fi / headset / screen receivers alive (previously only while the UI was open)
  • Battery rules fire on threshold cross and when a rule is saved / monitor starts (so “battery below 98%” works immediately)
  • Brightness sets manual mode first; clear error toast if “Modify system settings” is off

UX

  • Battery threshold slider
  • Brightness / volume / vibrate / wait sliders
  • Wi‑Fi SSID dropdown of known networks (+ manual type)

Tip

Enable Modify system settings in Settings for brightness rules. Leave at least one rule enabled so the monitor stays active.

Full Changelog: v0.3.0...v0.3.1

Latch 0.3.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:46

Latch 0.3.0

Permissions settings

Each capability shows Enabled or an Enable button (notifications, usage access, write settings, exact alarms, Bluetooth, location/SSID, Shizuku, root).

Elevated execution

  • Shizuku preferred for shell when authorized
  • Root (su) optional fallback
  • Wi‑Fi / Bluetooth enable actions via elevated svc when possible

Conditions (AND)

Also require: Wi‑Fi on/off, charging, screen, battery threshold, weekday/weekend.

More triggers

Airplane mode · media mounted · time window · day mask

More actions

Media volume · vibrate · clipboard · flashlight · Wi‑Fi/BT enable · media next · multi-step chains

UX

  • Run rule now (play) on each card
  • Import / export JSON
  • On-device run log
  • Tags + notes + cooldown

Full Changelog: v0.2.0...v0.3.0

Latch 0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:08

Latch 0.2.0

New triggers

  • Wi‑Fi connected / disconnected / specific SSID
  • Bluetooth connected / disconnected
  • App opened (usage access + optional foreground watcher)
  • Screen on / off
  • Custom broadcast (plugin API)

Multi-action rules

Chain notify → wait → ringer → open app → shell in one rule.

Actions

  • Open app / URL
  • Set brightness (write-settings)
  • Shell command (optional elevated su)
  • Plugin broadcast out
  • Wait between steps

Custom options

  • Per-rule cooldown seconds
  • Notes field
  • Settings: elevated shell toggle, plugin API toggle, permission shortcuts

Widget

Home-screen widget to toggle a chosen rule on/off.

Plugin API

com.endroid.latch.api.FIRE_TRIGGER  extra: trigger=<action string>
com.endroid.latch.api.RUN_RULE      extra: rule_id=<id>

Full Changelog: https://github.com/wized2/Latch/commits/v0.2.0