Location Finder

Location Finder

The example demonstrates an API that allows you to work with geolocation.

RU | EN

Location Finder

Description

The example demonstrates an API that allows you to work with geolocation. In it you can get the current coordinates and save them. The saved coordinates will be available on the main screen of the application. Obtaining geoposition is available using the plugin geolocator_aurora. For for the example to work, you need internet access and geolocation enabled.

Table of Contents

Build features

Go to the directory with the application, first update the dependencies:

flutter-aurora pub get

The following dependencies are used for the application:

Start build:

flutter-aurora run

Branch info

Application versions conform to the branch naming convention

Install and launch

Permissions

The application needs to have permissions on Location and Internet in order to run. These permissions are set in the .desktop file.

Screenshots

Main page Load position Saved positions

Usage options

  • Getting coordinates
  • Saving coordinates to a list

Project Structure

The project has a standard application structure based on Dart and Flutter for Aurora OS.

  • aurora the directory contains C++ source code and resources needed for installation.
  • lib the directory contains the source code for the Dart plugin.
    • src the directory contains the Dart source code.
    • main.dart the file is the entry point to the application.
  • pubspec.yaml the file describes the dependencies and settings of the plugin name.

Terms of Use and Participation in Development

The source code of the project is provided under license, which allows to use it in third-party applications.

To participate in the development of the project, please read the member agreement. If you plan to submit your own source code for inclusion in the project, you will need to accept the CLA terms and conditions.

Participant information is listed in the AUTHORS file.

The Code of Conduct is the current set of rules of the Open Mobile Platform Company, which informs about the expectations for interaction between community members when communicating and working on projects.