<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8" -->

---
title: Building a Cross-Platform Qibla Experience with GeoQibla
description: GeoQibla is a Kotlin Multiplatform Compose library (v0.0.4) that provides a full Qibla direction experience for Android and iOS. It goes beyond a simple...
canonical: https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a Cross-Platform Qibla Experience with GeoQibla | daily.dev
og:description: GeoQibla is a Kotlin Multiplatform Compose library (v0.0.4) that provides a full Qibla direction experience for Android and iOS. It goes beyond a simple...
og:url: https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8
og:image: https://api.daily.dev/og/posts/0316O5ow8.png
og:image:alt: Building a Cross-Platform Qibla Experience with GeoQibla
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a Cross-Platform Qibla Experience with GeoQibla

**[Medium](https://daily.dev/sources/medium_js)** · 9 min read · 0 upvotes · 0 comments

## Summary

GeoQibla is a Kotlin Multiplatform Compose library (v0.0.4) that provides a full Qibla direction experience for Android and iOS. It goes beyond a simple compass widget by modeling the entire user journey through a rich state machine covering permissions, location readiness, sensor calibration, tilt detection, and alignment states. The library offers two integration levels: a ready-made GeoQiblaScreen for quick adoption and a headless QiblaController exposing StateFlow for custom UIs. Customization is handled via QiblaStyle, QiblaStrings (with English and Arabic RTL support), and QiblaSlots for surgical UI replacement. Under the hood, platform-specific implementations handle Android's SensorManager/LocationManager and iOS's CLLocationManager, while shared code owns the state machine and QiblaMath calculations. The architecture is presented as a strong KMP case study demonstrating how to share user-facing interaction systems while respecting platform differences.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@shahid.iqbal4213/building-a-cross-platform-qibla-experience-with-geoqibla-052968a548d0>

## Similar posts on daily.dev

- [CompassMB/MBCompass: Modern FOSS Compass and Navigation app without Ads, IAP or Tracking](https://daily.dev/posts/compassmb-mbcompass-modern-foss-compass-and-navigation-app-without-ads-iap-or-tracking-cuoqibupr) · Hacker News · 0 upvotes · 0 comments
- [Why we love multiplatform with Kotlin and Compose](https://daily.dev/posts/why-we-love-multiplatform-with-kotlin-and-compose-ygw5twyaa) · Q42 Engineering · 0 upvotes · 0 comments
- [We Called Our App Multiplatform. 848 Lines Actually Were.](https://daily.dev/posts/we-called-our-app-multiplatform-848-lines-actually-were--cbcbbrspe) · Medium · 0 upvotes · 0 comments
- [Building a Production-Grade Adaptive Layout System in Kotlin Multiplatform — From Phone to Foldable](https://daily.dev/posts/building-a-production-grade-adaptive-layout-system-in-kotlin-multiplatform-from-phone-to-foldable-ngxlniy3b) · ProAndroidDev · 1 upvotes · 0 comments

---

Tags: [#mobile](https://daily.dev/tags/mobile), [#kotlin](https://daily.dev/tags/kotlin), [#jetpack-compose](https://daily.dev/tags/jetpack-compose)

[View this post on daily.dev](https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building a Cross-Platform Qibla Experience with GeoQibla","url":"https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8"},"datePublished":"2026-07-23T07:33:12.534Z","dateModified":"2026-07-23T07:36:25.997Z","description":"GeoQibla is a Kotlin Multiplatform Compose library (v0.0.4) that provides a full Qibla direction experience for Android and iOS. It goes beyond a simple...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7950624240b7249f4cc34b8e303d88c1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7950624240b7249f4cc34b8e303d88c1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-cross-platform-qibla-experience-with-geoqibla-0316o5ow8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mobile,kotlin,jetpack-compose","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Building a Cross-Platform Qibla Experience with GeoQibla"}]}
```

