Privacy and Location Use in Sunnah Compass

Qiblah direction depends on your current location's cardinal relationship to Makkah (Mecca). Location is requested only for the compass flow, approximate fixes are clearly labeled, and the app remains usable if browser GPS is denied or unavailable.

Open Sunnah Compass
Sunnah Compass icon for privacy and location guidance
Foreground location use
Plain-English summary: The compass needs your location to determine your cardinal direction in relation to Makkah (Mecca). It requests foreground location while the compass is open and can fall back to approximate IP location if precise GPS is not available.

Why Does a Qiblah Compass Need Location?

The Qiblah direction is not the same everywhere. Your location is used to determine your relationship to Makkah (Mecca) by direction. Under the established Qiblah methodology, the direction is based on cardinal orientation, not a shortest-path calculation that may suggest a relative northeast direction in North America.

Precise or Approximate Location?

When your browser or operating system allows precise location, the compass can calculate with a more specific position. If only approximate location is available, that state is labeled so you understand the limitation.

What Happens If Browser GPS Is Unavailable?

If browser GPS is denied, unavailable, or times out, the compass can attempt approximate IP location. This is less precise than GPS, but it is useful when a device has no GPS sensor or a browser blocks the precise prompt. The web app currently tries `ipinfo.io` first and `ipapi.co` as a fallback for approximate IP-based location.

iOS and Android Apps

This policy also covers the Sunnah Compass apps for iOS and Android. The apps request foreground location through the operating system's permission prompt, and you can change or revoke that permission at any time in system Settings. The apps behave the same way as the web experience: precise location is used when granted, approximate location is clearly labeled, and the compass remains usable without it.

Third-Party Services

Some features require third-party services. When those services are used, the service provider may receive technical information such as your IP address, user agent or device information, referrer, and request time.

Analytics Consent

When analytics consent is required, Google Analytics does not load until you accept analytics. If you decline, the app remains usable. The consent choice is stored in your browser's local storage so the site does not ask on every visit.

Location Retention

No account is required to use the web app. The browser location prompt is used for the active compass experience. Analytics events, when enabled, should avoid exact latitude and longitude; app analytics round location-related values into coarse buckets where they are logged.

Practical Privacy Choices

Privacy FAQ

Is precise GPS required?

Precise GPS improves the compass experience, but approximate IP location can be used when browser GPS is unavailable, denied, or times out.

Is Google Analytics used?

Production hosts can use Google Analytics. In regions where analytics consent is required, the site asks before loading analytics cookies and events.

Do the iOS and Android apps collect crash data?

The mobile apps use Firebase Crashlytics to collect crash reports and diagnostic information (such as crash stack traces, device model and OS version, and a Crashlytics installation identifier) solely to diagnose stability issues. It is not used for advertising, and the mobile apps do not run the website's Google Analytics.

Last reviewed: .