Skip to content

nfcGuard

GitHub andebugulin/nfcguard

Block distracting apps behind a physical NFC tag. Place the tag somewhere inconvenient so unlocking requires getting up. Supports block and allow modes, per-day schedules, timed unlocks, and stats.

Place an NFC tag somewhere inconvenient: another room, a drawer, the far end of the house. Then make yourself walk to it before you can scroll.

Most app blockers are one tap away from being switched off. This one isn't. Unlocking means getting up, or deleting the app.

Accessibility Service disclosure: nfcGuard uses the Android AccessibilityService API for a single purpose: to detect which app is currently in the foreground, so that an app you have chosen to block can be closed when you open it. This is required because some devices do not reliably report the foreground app by any other means.

The service is declared so that it cannot retrieve window content, and it listens only for window-state-change events. It is technically incapable of reading what is on your screen, and it never does. Before it is turned on, nfcGuard shows a consent screen explaining this, with ALLOW and DON'T ALLOW buttons.

nfcGuard collects, stores and transmits no personal or sensitive user data of any kind, and works entirely offline.

The service is optional on most phones. With it off, nfcGuard instead shows a block screen on top of the blocked app.

Fully offline: no ads, no tracking, no accounts, no sign-up. Open source under the MIT license.

Features:

  • Block mode - block the specific apps that distract you
  • Allow mode - block everything except the essentials
  • Per-day schedules that activate and deactivate on their own
  • Multiple modes, each with its own NFC tag
  • Timed unlocks, capped by a limit you set in advance
  • Home screen widget for switching modes without opening the app
  • Emergency reset with a configurable cooldown
  • Config export and import in JSON or YAML

Requires a phone with NFC and any inexpensive NTAG sticker, or anything else with an NFC chip.

Source code: https://github.com/Andebugulin/nfcGuard

Summary generated by Zapstore from source.

Original description, as the developer published it.

Latest release

Nov 21, 2026

Unclaimed app No Google servicesWorks offlineSource available · MIT

The catalog lists this app from GitHub andebugulin/nfcguard and signs its releases. The developer has not claimed it. Are you the developer? Claim your app

Uses the overlay window to block apps and reads usage stats to detect the foreground app.

Permissions

Usage accessNotificationsAlways runningOverlay What they allow
  • Usage access PACKAGE_USAGE_STATS See how you use other apps To identify which app is currently in the foreground.
  • Notifications POST_NOTIFICATIONS Send you notifications
  • Always running REQUEST_IGNORE_BATTERY_OPTIMIZATIONS Keep running in the background without limits
  • Overlay SYSTEM_ALERT_WINDOW Draw over other apps To show a full-screen block view over other apps.

Release notes

Same app as 1.3.3, with a new version code so it can be published on Google Play. No changes in the app.

See 1.3.3 for this round's main change: the new Stats page.

Comments

Loading comments…

See more

Get nfcGuard the private way

Updates checked on your device, and every release verified before it installs.