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: ^7.4.0
geolocator_tizen: ^1.0.0
Then you can import geolocator
in your Dart code:
import 'package:geolocator/geolocator.dart';
For more details, see here.
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>
This plugin is supported on these types of devices:
- Galaxy Watch (running Tizen 4.0 or later)