패키지, 저장소 및 앱 카테고리 검색

패키지 상세v14.1.2

geolocator

Flutter용 지오로케이션 플러그인입니다. 이 플러그인은 일반적인 위치(예: GPS 등) 기능을 위한 크로스플랫폼(iOS, Android) API를 제공합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
300만
좋아요
6.1천
Pub 점수
160

패키지 설치

flutter pub add geolocator

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

geolocator 패키지는 Android, iOS, Web, macOS, Windows, Linux에서 장치 위치 서비스에 접근하기 위한 통합 API를 제공하는 크로스 플랫폼 플러터 플러그인입니다. 개발자는 현재 위치를 가져오고, 위치 변경을 모니터링하며, 위치 권한을 확인할 수 있으며, 플랫폼 간 일관된 동작을 보장합니다. Baseflow에서 개발한 이 패키지는 GPS 및 기타 위치 기반 기능을 플러터 애플리케이션에 쉽게 통합할 수 있도록 도와줍니다.

사용 사례

  • 사용자의 현재 위치 가져오기
  • 실시간 위치 업데이트 모니터링
  • 위치 권한 확인 중
  • 위치 인식 앱 만들기
  • 지도 및 내비게이션과의 통합

주요 기능

  • 크로스 플랫폼 호환성
  • 실시간 위치 추적
  • 권한 처리
  • 고정밀 모드 지원
  • 백그라운드 위치 업데이트

적합한 대상

  • 모바일 및 데스크톱 위치 앱
  • 배달 및 라이드셰어링 앱
  • 피트니스 및 아웃도어 추적 앱
  • 위치 기반 알림
  • 지도 통합 응용 프로그램

고려 사항

  • 적절한 권한 구성이 필요합니다
  • 백그라운드 위치 정보는 배터리 수명에 영향을 줄 수 있습니다
  • 정확도는 장치 하드웨어에 따라 달라집니다
  • 웹 지원은 브라우저 위치 정보에 국한됩니다
  • 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

소스 저장소

이 패키지를 사용하는 프로젝트

순위