Skip to content

Leave-N-Lock v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:39
· 17 commits to main since this release
c62363b
  • The status card updates when auto-lock skips. If LEAVE/LOCK didn't lock because it couldn't
    confirm you walked away, the Home card, widget and notification kept showing the car's
    previous state (for example "Locked" when it was really unlocked). It now reads the car's
    latest reported status in that case too, without waking the car. If the geofence can't get
    your location, the activity log now says so, and when walking confirms you left, the log says
    "Walking detected — confirmed you left."
  • The parked spot is more accurate. "Parked near" and Open in Maps could be a few blocks
    off, because the app asked for a quick, low-power location (Wi-Fi and cell towers) and would
    take one up to a minute old, from while you were still driving in. It now asks for a GPS fix
    when the car's Bluetooth disconnects and only uses a location from the last few seconds; if
    GPS can't get one in time (for example in a garage), it falls back to the low-power location.
    The walk-away check and the spot it measures from use the same, more accurate location. If
    Android's location for LEAVE/LOCK is set to approximate, the activity log now says so.
  • Lock and unlock from the app show up in the activity log. Pressing Lock or Unlock on the
    Home screen now adds a line to the activity log saying whether it worked, failed (and why), or
    wasn't sent (for example a wrong PIN or Dry run mode). They don't play a sound; sounds are
    only for auto-lock.
  • Sign-in storage updated. Your stored PIN and BlueLink sign-in now use the Android Keystore
    directly, because the library they used before is deprecated. They carry over automatically.
    If you go back to 0.2.0 after updating, you will need to sign in again.
  • Built for Android 17. LEAVE/LOCK now targets Android 17, so it follows that version's
    newer rules. On Android 16 and later, the back gesture shows a preview of where you're going
    (for example, a peek at the home screen) before you let go.
  • Lock sounds play as notifications. Android 17 silences sounds that apps play on their own
    in the background, which would have muted the auto-lock chimes. With "Sound on lock" on, the
    start chime and the lock sound now come with a short notification ("Auto-lock started",
    "Car locked") that clears itself after a few seconds. They follow your notification volume and
    Do Not Disturb, and you can change or mute each one under Android's notification settings for
    LEAVE/LOCK ("Auto-lock start sound", "Lock sound"). Notifications need to be allowed for the
    sounds to play. Your custom lock sound still works.
  • "Remember parked location" works after you leave the car. It only saved the spot when the
    app happened to be open, because LEAVE/LOCK never asked for location "Allow all the time".
    Turning on "Remember parked location" or "Geofence confirmation" now asks for it, and Settings
    shows a notice with an "Allow all the time" button while it's missing. If the location still
    can't be read, the activity log says so and the old spot is cleared instead of staying on the
    status card. A failed street-name lookup (for example with no signal) can no longer hold up an
    auto-lock.