The Tizen implementation of geolocator
.
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.
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>
- Galaxy Watch series (running Tizen 5.5)
-
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)