EN | RU
Geoclue_aurora
Geoclue is a D-Bus service that provides location information on Aurora OS devices. The plugin is an implementation geoclue.
Usage example:
final GeoClueMaster master = GeoClueMaster();
final location = await GeoClue.getLocation(
master: master,
accuracyLevel: GeoClueAccuracyLevel.country,
allowedResources: 1023,
);
Contents
- Installation and build
- Detailed description
- Compatibility
- Terms of use and participation in development
Installation and build
Add the plugin depending on the target application in the pubspec.yaml file:
dependencies:
geoclue_aurora:
git:
url: https://developer.auroraos.ru/git/flutter/flutter-community-plugins/geoclue_aurora.git
And update the dependencies:
flutter-aurora pub get
Detailed description
The plugin implements all the functions of the geoclue plugin, without limitations.
Compatibility
The application has been working correctly since the 5.0.0 version of the Aurora OS. Required flutter 3.32.7 or newer.
API Versions
The plugin automatically detects your Aurora OS version and uses the appropriate API implementation:
- Aurora OS < 5.2.0: Uses legacy GeoClue API with session bus communication
- Aurora OS >= 5.2.0: Uses modern GeoClue API 5.2 with system bus communication for improved performance and reliability
The version detection happens automatically during plugin initialization, ensuring optimal compatibility across different Aurora OS versions.
Terms of Use and Participation
The source code of the project is provided under the license, that allows it to be used in third-party applications.
To participate in the development of the project, please read the contributor agreement. If you plan to contribute your own source code to the project, you will need to accept the CLA agreement.
For information about contributors see AUTHORS.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.