パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v14.1.2

geolocator

Flutter用のジオロケーションプラグイン。このプラグインは、汎用的な位置情報(GPSなど)機能を、クロスプラットフォーム(iOS、Android)で利用できるAPIを提供します。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
300万
いいね数
6140
Pub ポイント
160

パッケージをインストール

flutter pub add geolocator

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

geolocator パッケージは、Android、iOS、Web、macOS、Windows、Linux の各プラットフォームでデバイスの位置情報サービスにアクセスするための統合 API を提供するクロスプラットフォームの Flutter プラグインです。開発者は、現在の位置を取得し、位置の変更をモニタリングし、位置情報の権限を確認でき、プラットフォーム間で一貫した動作が可能です。Baseflow によって開発されたこのパッケージは、Flutter アプリケーションへの GPS およびその他の位置ベース機能の統合を簡素化します。

用途

  • ユーザーの現在位置を取得中
  • リアルタイムでの位置情報の更新をモニタリング
  • 場所の権限を確認しています
  • 場所を認識するアプリの開発
  • マップおよびナビゲーションとの統合

主な機能

  • クロスプラットフォーム互換性
  • リアルタイム位置追跡
  • 権限の処理
  • 高精度モードのサポート
  • バックグラウンド位置の更新

適している対象

  • モバイルおよびデスクトップの場所アプリ
  • 配達およびライドシェアリングアプリ
  • フィットネスおよびアウトドアトラッキングアプリ
  • 場所ベースの通知
  • マップ統合アプリケーション

注意事項

  • 適切な権限設定が必要です
  • バックグラウンドでの位置情報はバッテリー寿命に影響する可能性があります
  • 正確性はデバイスのハードウェアに依存します
  • Webサポートはブラウザの位置情報に限定されています
  • iOS では Info.plist に使用説明が必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Flutter geolocator plugin

The Flutter geolocator plugin is built following the federated plugin architecture. A detailed explanation of the federated plugin concept can be found in the Flutter documentation. This means the geolocator plugin is separated into the following packages:

  1. geolocator: the app facing package. This is the package users depend on to use the plugin in their project. For details on how to use the geolocator plugin you can refer to its README.md file.
  2. geolocator_android: this package contains the endorsed Android implementation of the geolocator_platform_interface and adds Android support to the geolocator app facing package. More information can be found in its README.md file;
  3. geolocator_apple: this package contains the endorsed iOS and macOS implementations of the geolocator_platform_interface and adds iOS and macOS support to the geolocator app facing package. More information can be found in its README.md file;
  4. geolocator_web: this package contains the endorsed web implementation of the geolocator_platform_interface and adds web support to the geolocator app facing package. More information can be found in its README.md file;
  5. geolocator_windows: this package contains the endorsed Windows implementation of the geolocator_platform_interface and adds Windows support to the geolocator app facing package. More information can be found in its README.md file;
  6. geolocator_platform_interface: this package declares the interface which all platform packages must implement to support the app-facing package. Instructions on how to implement a platform package can be found in the README.md of the geolocator_platform_interface package.

カテゴリー

依存関係

依存関係一覧 6 件

  • geolocator_android^5.1.0
  • geolocator_apple^2.3.14
  • geolocator_linux^0.2.6
  • geolocator_platform_interface^4.4.0
  • geolocator_web^4.1.4
  • geolocator_windows^0.2.3

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング