搜尋套件、儲存庫與 APP 分類

flutter_qiblah 封面
套件詳情v3.2.0

flutter_qiblah

Flutter Qiblah 是一個套件,可讓您在應用程式中顯示麥加方向,並支援 Android 與 iOS

AndroidiOS
近 30 天下載
1420
喜歡數
178
Pub 分數
140

安裝套件

flutter pub add flutter_qiblah

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Flutter Qiblah 是一個輕量級套件,讓開發者能將其整合至他們的 Flutter 應用程式中,適用於 Android 與 iOS。它提供基於指南針的精確方向,指向麥加的克爾白,幫助使用者確定正確的禮拜方向。此套件利用裝置感應器與地理定位功能,提供即時的方向指引,非常適合專注於禮拜時間與宗教實踐的伊斯蘭應用程式。實現簡單,設定最少,透過提供可靠的靈性導航,提升使用者體驗。

適用情境

  • 祈禱時間應用
  • 伊斯蘭教育工具
  • 宗教導航功能
  • 移動清真寺應用程式
  • 靈性指導應用

主要特色

  • 即時朝向克爾白方向
  • 設備指南針整合
  • 跨平台支援(Android 與 iOS)
  • 簡單 API 結合
  • 基於地理位置的精確計算

適合對象

  • 開發伊斯蘭應用程式的人
  • 需要祈禱方向的應用程式
  • 穆斯林的教育工具
  • 面向穆斯林用戶的移動應用
  • 需要地理位置和傳感器數據的項目

使用建議

  • 需要設備傳感器(陀螺儀、磁力計)
  • 可能需要位置權限
  • 準確性取決於設備硬體
  • 僅限朝向克爾白的方向
  • 不適用於離線使用,除非進行快取

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter Qiblah

pub package License: MIT

Getting Started

To start using this package, add flutter_qiblah dependency to your pubspec.yaml

dependencies:
  flutter_qiblah: '<latest_release>'

The package not not work on the iOS Simulator. To test on iOS please use a real device. Checkout #39

Features

  • Check Device Sensor support (Android)
  • Request Location permission
  • Check GPS Status (Enabled and permission status)
  • Receive Qiblah direction, North direction and Qiblah offset from North

Screens

Here is the Example app demo:

Example app Demo

Based on the LocationStatus class, you can add a check to see the current status of the GPS and display an error widget if it's disabled or permission is denied. check the :memo: Example Code

GPS Disabled

For devices with no sensors, a Map can be displayed with the direction from the current/selected location to Mecca. check the :memo: Example Code

Qiblah with maps

Issues

Please file any issues, bugs or feature request as an issue on our GitHub page.

Want to contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.

所屬分類

依賴

依賴清單 4 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。