Muslim spiritual wellbeing / Android application

Niyyah

Protect your focus. Make space for prayer.

Niyyah (formerly SalahLock) is a calm companion for intentional Muslim living. Its core idea is a prayer lock: chosen distracting apps are restricted during prayer windows and released once you confirm you have prayed. Around that sits a set of spiritual tools: prayer times, Qibla, Quran, Hadith, Azkar and private reflections.

Active development · public Google Play release still being finalised

نيةDhuhrPrayer windowI've prayedApps paused until verified TodayFajrDhuhrAsrMaghribIsha--:----:----:----:----:--Illustrative layout
Illustrative mockup, not a screenshot. Times are placeholders.
How to read this page. Based on the public Niyyah.app README. It is a documentation review, not a line-by-line code audit. Chips mark each claim: Documented described in project documentation, In progress, Planned, Proposed for business ideas that are not operating, Not implemented.

The problem

Phones are useful, and they are also loud at the wrong moments.

Who has it. Muslim smartphone users who want their daily prayers to be uninterrupted, especially students and young professionals whose study, work or leisure apps pull at them around prayer times.

Why current tools fall short. General screen-time tools reduce overall usage but know nothing about prayer. Prayer apps tell you when to pray and offer religious content, but do not usually protect the window itself. Neither connects the two.

Consequence. Prayer can be delayed or interrupted by notifications and habitual app opening. The person intends to pray, and the phone gets in the way.

Evidence status. The problem is described from the author’s product thinking. No user research, survey data or usage statistics are published, so treat the scale of the problem as a hypothesis to validate with real users.
Not a promise. Niyyah does not guarantee religious consistency and does not replace personal responsibility. It makes a deliberate choice easier to keep.

The solution

A prayer-centred approach to digital wellbeing.

Niyyah ties app restriction directly to the prayer schedule. The user chooses which apps to restrict per prayer; shortly before a prayer time, those apps are paused behind a full-screen overlay; the user confirms the prayer by voice or typing, and the lock ends. The same app carries the spiritual resources people already look for around prayer, so the user has a reason to open Niyyah, and then leave the phone.

The README states the design goal plainly: the app should return attention rather than capture it. The ideal journey is to open the app, receive guidance, leave, and pray.

Business logic

From prayer settings to release, step by step.

The prayer-protection workflow as documented. Exact enforcement depends on Android permissions and the device; Niyyah does not claim every app can be blocked on every device.

  1. InputConfigure

    User picks which apps to restrict, per prayer, with Jumu’ah overrides.

  2. InputGet prayer times

    GPS-based times with offline cache, or a saved local-masjid schedule.

  3. ProcessEvaluate the window

    The lock becomes active a 5-minute buffer before the configured prayer time.

  4. OutputRestrict

    Opening a restricted app during an active window shows a full-screen lock overlay.

  5. DecisionVerify the prayer

    Confirm by voice (fuzzy matched) or by typing a short confirmation.

  6. OutputRelease

    A successful match for that prayer ends its lock immediately, without waiting for the countdown.

  7. ProcessRecord locally

    Streaks and progress are stored on the device; monthly reflections are generated on-device.

Where it can fail or fall short

  • Permissions or device settings block enforcement. Android restrictions depend on permissions the user must grant and on the device’s configuration.
  • Speech recognition mis-hears. Voice matching is fuzzy to tolerate mis-transcription, and typing is the alternative route.
  • Genuine need. A temporary pause (travel, illness) and a deliberate, rate-limited emergency override exist so the lock never traps the user.
  • No network. Prayer times are cached so they remain available offline.

Key features

Grouped by what they do for the user.

Protect the prayer window

  • Per-prayer app restrictions, with Jumu’ah overrides Documented
  • 5-minute pre-prayer buffer and full-screen overlay Documented
  • Verify by voice or typing, immediate release Documented
  • Pause and rate-limited emergency override Documented

Know the time and direction

  • GPS prayer times with offline caching Documented
  • Local masjid mode with saved iqamah timings Documented
  • Alarms reschedule on source change and survive reboot Documented
  • Qibla compass using live sensor heading Documented

Read and remember

  • Quran reader: bookmarks, progress, Surah/Juz navigation, search Documented
  • Hadith collections and search; Azkar with counters and favourites Documented
  • Saved collections across Quran, Hadith and Azkar Documented

Reflect without shame

  • Streaks and achievements Documented
  • Private monthly reflections generated on-device Documented
  • Daily progress ring on the home dashboard Documented

Own your data

  • Optional account: the app works without signing in Documented
  • Local backup and restore Documented
  • Light and dark themes Documented

Release

  • First public Google Play release In progress

Target customers

Who it is for, and what could stop them.

Four audiences, in order of how directly Niyyah serves them today.

SegmentWhat they needWhy they might adoptAdoption barriers / limits
Practising Muslim smartphone users PrimaryFirmer boundaries around the phone during daily prayer.A lock that is tied to the prayer schedule and lifts on verification.Depends on Android permissions they must grant; a lock only helps if they want one.
Students and young professionals SecondaryFewer study, work and leisure distractions at prayer times.They already feel the pull of apps at exactly those times.Likely to uninstall if the lock feels punitive; the pause and override matter.
People wanting one spiritual companionPrayer times, Quran, Hadith, Azkar and Qibla in a single app.Fewer apps to juggle; reading and prayer in one calm place.Established single-purpose apps have large content and habit advantages.
Families and community organisations PotentialShared routines, mosque schedules, group accountability.Not validated. An exploratory direction only.No existing relationships. Needs research on consent, privacy and religious sensitivity.
Who uses vs who pays

Today the user and the audience are the same person, and the app is free to use as documented. There is no paying institution. An institutional buyer (a mosque, school or family plan) is a possible future split between user and payer, and is unvalidated.

Value proposition

A phone that gets out of the way of prayer, plus the spiritual tools you would otherwise open separate apps for. The value is protected attention, not time spent in the app.

How it differs from alternatives

AlternativeWhat it does wellWhere this product differs
Standalone prayer-time appsAccurate times and reminders.Niyyah also protects the window by restricting distracting apps.
General screen-time / app-blocking toolsBroad usage limits.Restrictions follow the prayer schedule and lift on prayer verification, with a spiritual purpose.
Quran and Hadith reading appsRich reading experiences.Reading sits beside prayer-window protection and private reflection.
Habit trackersGeneric streaks.Streaks and reflections are built around prayer and kept private on the device.

Technology and architecture

Local-first Android, with optional cloud for supported data.

Components below are those named in the README. The README does not name the on-device storage library or programming language, so those are not listed here.

On the device (works offline)

Prayer lock engineEvaluates the prayer window, shows the overlay, handles pause and override.Documented
VerificationVoice recognition with fuzzy matching, or typed confirmation.Documented
Prayer times and QiblaGPS times with cache or local masjid timings; sensor-based compass.Documented
Quran, Hadith, AzkarReading, search, bookmarks and counters.Documented
Local dataPrayer records, progress, backups and on-device monthly reflections.Documented

Optional cloud (only if signed in)

ClerkOptional account authentication, including Google sign-in.Documented
Supabase with Row Level SecurityCloud-synchronised supported data such as Quran bookmarks, isolated per account.Documented

Not synchronised

Monthly reflectionsGenerated and stored privately on the device; not part of ordinary cloud sync.Documented
Data lifecycle

Core data is local-first and available offline. Signing in is optional and only enables supported cloud features. Local backups are separate from cloud sync. Data is kept isolated when switching accounts.

Not claimed

The README does not claim end-to-end encryption or sync of every data type, so this site does not either. Data deletion, retention and backup limits are not described in the README and should be documented before release.

Business model

How this could earn, and what each option costs.

Everything in this table is a proposal. The README states a free-to-use app with limited monetisation kept away from worship-critical screens; no revenue is claimed.

Possible modelHow it would workTrade-offsStatus
Free core applicationPrayer lock, times, Quran, Hadith, Azkar free to everyone.Builds trust and reach; no direct revenue; costs of cloud services still apply.Proposed
Optional premium personalisationThemes, extra reading layouts, extra customisation.Must not put prayer protection behind a paywall; needs enough perceived value.Proposed
Voluntary contributionsUsers who value the app can contribute.Low and unpredictable income; fits the trust-based nature of the product.Proposed
Ethical sponsorshipSponsors that fit the context, shown away from worship moments.Risk of eroding trust if placed badly; needs strict content rules.Proposed
Limited advertisingThe README documents Google AdMob integration for limited monetisation, kept away from worship-critical experiences.Ads near prayer undermine the product’s purpose; only acceptable if kept clear of those screens.Documented integration only
Family or institutional featuresShared settings or schedules for families, mosques or schools.Needs research, a different product surface and stronger privacy controls.Potential
Commercial reality. Privacy, trust, accessibility and religious sensitivity are commercial constraints, not afterthoughts. A monetisation choice that makes users doubt the app’s sincerity can cost more than it earns.

Privacy, safety and limitations

What this product does not do.

  • Not every app can be blocked on every device; enforcement depends on Android permissions and the device’s configuration.
  • It does not guarantee religious consistency, and it is not a substitute for personal responsibility.
  • No claim is made that every data type is end-to-end encrypted or synchronised.
  • Voice verification is a convenience gate, not proof of prayer; the app trusts the user’s confirmation.
  • The public Google Play release is still being finalised, so it is not yet available as a store download.

Roadmap

Where it is, and where it could go.

Completed Documented

Documented in the repository

  • Prayer lock with verification, pause and override
  • Prayer times, local masjid mode, Qibla
  • Quran, Hadith, Azkar, collections
  • Streaks, private reflections, backup and restore
  • Optional account with supported bookmark sync

In progress In progress

Under active work

  • Public Google Play release
  • Production-readiness preparation

Planned Planned

Intended, not started or not verified

  • Nothing is documented here yet.

Potential future Potential

Opportunities, not commitments

  • Premium personalisation
  • Family and community-organisation features
  • Sponsorship that respects prayer

Project and next step

Read the work.

Niyyah is in active development; there is no store release to download yet.

← All NIFA products