geolocator_tizen
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.6
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
x
Geolocator.isLocationServiceEnabled
x
Geolocator.getServiceStatusStream
x
Geolocator.checkPermission
x
Geolocator.requestPermission
x
Geolocator.getLastKnownPosition
x
Geolocator.getCurrentPosition
(supported arguments:timeLimit
)x
Geolocator.getPositionStream
(supported arguments:locationSettings.timeLimit
)Geolocator.getLocationAccuracy
Geolocator.requestTemporaryFullAccuracy
(iOS-only)x
Geolocator.openAppSettings
(not supported on emulators)x
Geolocator.openLocationSettings
(not supported on emulators)