All apps
Mobile app · case study

Salah Compass.

Offline Prayer Times, Qibla Compass & Duas

Salah Compass answers the two questions a Muslim asks several times a day: when is the next prayer, and which way is the Qibla. It works both out on the phone, from the sun's position and the device's location, and it makes no network requests at all. The home screen leads with a live countdown to the next prayer, then today's five times, sunrise, sunset and the Hijri date. Eleven calculation methods, Standard or Hanafi Asr and a minute adjustment for each prayer let it match a local masjid's timetable. The Qibla screen is a live compass that corrects to true north, works with the phone flat or upright, and tells you when you are facing the Kaaba. Prayer alerts are local notifications — the full adhan as an alarm, the adhan as a notification, or a plain sound — and 40 duas ship inside the app in Arabic, transliteration and translation, each with its source. Built with React Native, Expo (SDK 57), Reanimated 4 and MMKV, on a prayer-time, Qibla and Hijri engine written in plain TypeScript, checked against the adhan library across eleven cities, with a 187-test Jest suite over the calculations, hooks and components.

Coming soon · Google Play
Salah Compass icon
01 · KEY FEATURES

What it does.

01

Today's Prayer Times with a Live Countdown

02

11 Calculation Methods

03

Standard or Hanafi Asr

04

Minute Adjustments for Each Prayer

05

Qibla Compass Corrected to True North

06

Bearing & Distance to the Kaaba

07

Adhan Alarm, Adhan Notification or Simple Alert

08

Optional Reminder Before Each Prayer

09

40 Duas with Arabic, Transliteration & Source

10

Offline Dua Search & Favorites

11

Hijri Date, Light & Dark Mode

12

100% Offline — No Account, No Ads, No Tracking

02 · DEEP DIVE

How it’s built.

Know When to Pray

The home screen is built to be read in a second. The next prayer and a live countdown fill a single card at the top, with a bar showing how far through the current prayer window you are. Today's five prayers sit below it, with the current one marked Now and the next one marked Next.

  • Live countdown to the next prayer
  • Today's five prayers, with Now and Next marked
  • Sunrise, sunset and the Qibla bearing in one strip
  • Hijri and Gregorian date
  • A bell on each prayer to switch its alert on or off
  • A dua of the day under the timetable

Calculated on the Phone, Not Downloaded

Each prayer time is the moment the sun reaches the angle its calculation method defines, worked out from the sun's declination and the equation of time for your coordinates. Nothing is fetched, so the times are there on a fresh install with no connection. Where the sun never reaches the Fajr or Isha angle, the night is divided in proportion to it.

  • 11 methods: Karachi, Muslim World League, ISNA, Egypt, Umm al-Qura and more
  • Fajr and Isha angles shown beside every method
  • Standard or Hanafi Asr
  • Each prayer adjustable by up to 30 minutes either way
  • Location from the device, a list of 128 cities, or coordinates
  • High-latitude handling for long summer twilights

A Qibla Compass That Says When You're There

The bearing to the Kaaba is a great-circle calculation from your coordinates, so the number itself never depends on the compass. The compass then reads the phone's motion sensors, filters out the jitter, and turns a dial until the Qibla marker sits under the pointer. When it does, the ring fills in and the phone gives a short vibration.

  • Corrected from magnetic to true north
  • Works with the phone flat in your palm or held upright
  • Aligned state within three degrees, with haptic feedback
  • Bearing in degrees and distance to the Kaaba in km
  • Calibration hint when the sensor's accuracy drops
  • Shows the bearing as a number on phones with no compass

Adhan Alerts Without a Server

Prayer alerts are local notifications scheduled on the phone, so there is no push service behind them and nothing to sign up for. You choose how loud they are once, then switch individual prayers on or off.

  • Adhan alarm: the full adhan, even when the phone is on silent
  • Adhan notification: the adhan with an ordinary notification
  • Simple notification: a standard sound, without the adhan
  • Optional reminder 5, 10, 15 or 30 minutes before
  • Rescheduled after a restart or a change of location or method
  • A test alert, so you can hear it before you rely on it

Duas, with Their Sources

Forty supplications from the Quran and the hadith collections ship inside the app, grouped by the part of the day they belong to. Each one opens to its Arabic text set in a typeface that carries every diacritic, with a transliteration, an English translation and the reference it comes from.

  • Eight categories, from morning and evening to travel
  • Search by title, translation, transliteration or source
  • Favorites, kept on the device
  • Copy or share a dua with its reference
  • Adjustable Arabic text size
03 · TECH STACK

Tools used.

Frontend
  • React Native
  • Expo (SDK 57)
  • Reanimated 4
  • TypeScript
  • Expo Router
Backend
  • MMKV on-device storage
  • 100% Offline — no server, no accounts
  • Local notifications for prayer alerts
  • No network code anywhere in the app
Features
  • Pure-TypeScript solar position and prayer-time engine
  • Great-circle Qibla bearing with a filtered compass heading
  • Tabular Hijri calendar and 128 bundled cities
  • 187-test Jest suite, checked against the adhan library

Perfect for

Anyone Who Prays on Time
One glance gives the next prayer and how long is left. The five times, sunrise and sunset sit right below it.
Travelers
It works in airplane mode and abroad without a data plan. Pick a city from the built-in list or enter coordinates, and the times and the Qibla follow.
Privacy-First Users
Your location is used on the phone and stays there. No account, no ads and no analytics, so there is nothing to opt out of.
Followers of a Local Timetable
Choose the method your masjid follows, pick Standard or Hanafi Asr, then move any prayer by a few minutes until the two match.
04 · FAQ

Common questions.

LAUNCHING SOON

Know when to pray. Know where to face.

Prayer times, a Qibla compass, adhan alerts and 40 duas, worked out on your phone with nothing sent anywhere.

Coming soon · Google PlayContact developer