Skip to content

Latest commit

 

History

History
 
 

geolocator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

geolocator_tizen

pub package

The Tizen implementation of geolocator.

Usage

This package is not an endorsed implementation of geolocator. Therefore, you have to include geolocator_tizen alongside geolocator as dependencies in your pubspec.yaml file.

dependencies:
 geolocator: ^8.0.0
 geolocator_tizen: ^1.0.2

Then you can import geolocator in your Dart code:

import 'package:geolocator/geolocator.dart';

For detailed usage, see https://pub.dev/packages/geolocator#usage.

Required privileges

To use this plugin, you need to declare privileges in tizen-manifest.xml of your application.

<privileges>
  <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
  <privilege>http://tizen.org/privilege/location</privilege>
  <privilege>http://tizen.org/privilege/location.coarse</privilege>
</privileges>

Supported devices

  • Galaxy Watch series (running Tizen 4.0 or later)

Supported APIs

  • Geolocator.isLocationServiceEnabled
  • Geolocator.getServiceStatusStream
  • Geolocator.checkPermission
  • Geolocator.requestPermission
  • Geolocator.getLastKnownPosition
  • Geolocator.getCurrentPosition (supported arguments: timeLimit)
  • Geolocator.getPositionStream (supported arguments: locationSettings.timeLimit)
  • Geolocator.getLocationAccuracy
  • Geolocator.requestTemporaryFullAccuracy (iOS-only)
  • Geolocator.openAppSettings (not supported on emulators)
  • Geolocator.openLocationSettings (not supported on emulators)