Skip to content

nfcGuard_v1.2.5

Choose a tag to compare

@Andebugulin Andebugulin released this 03 Oct 09:15
· 20 commits to main since this release
7614059

Schedules could start several minutes late, or only when you next opened
the app. Phones like Xiaomi's kill background apps and throw away their
alarms with them. nfcGuard now notices a missed start and runs it the
moment it gets a chance, usually the next time you use your phone.

Schedules:

  • A schedule whose start was missed is started as soon as nfcGuard can
    run again: on any app switch, on boot, from the watchdog, or with the
    app open. A start you have already unlocked with your tag stays
    unlocked.
  • If the blocker service has been killed, it is restored on the next
    app switch, which also re-arms the alarms.

Seeing what is blocked:

  • The notification lists the blocked apps by name, up to seven. Past
    that it gives the count. Allow-only modes list what is still allowed.
  • Tap the ACTIVE NOW panel on Home for the full list with app icons.

Permissions:

  • Autostart moved up with the required permissions, and on Xiaomi it now
    shows GRANTED once switched on. Without it those phones stop nfcGuard
    and its schedules.
  • Turning on Accessibility now asks first, with a clear explanation and
    ALLOW / DON'T ALLOW buttons, as Google Play requires.
  • Removed the CHECK AGAIN button. Rows already re-check when you return
    from a settings screen.

Other:

  • New launcher icon artwork.
  • Long dashes in on-screen text replaced with normal ones.

Internals:

  • The block rule (which apps a set of active modes blocks) now lives in
    one place, shared by the blocker, the notification and the new list.
  • New tests for missed schedule starts and the block rule.