luftdaten-at / luftdaten-app

Open Source app for Android and iOS for using Luftdaten.at devices, written in Flutter/Dart.
GNU Affero General Public License v3.0
1 stars 0 forks source link
citizen-science flutter

Luftdaten App

The Luftdaten App is a mobile application that allows users to visualize real-time air quality data based on measurements from air quality sensors. The app is developed using Flutter, an open-source framework by Google that enables cross-platform mobile applications (iOS, Android) to be built from a single codebase.

Table of Contents

  1. Installation
  2. Project Setup
  3. Using the App
  4. Flutter Commands
  5. Contributing
  6. License

Installation

Prerequisites

Installing Flutter

# On macOS/Linux:
export PATH="$PATH:/path/to/flutter/bin"

# On Windows:
# Add the path to Flutter `C:\path\to\flutter\bin` to your environment variables.

Cloning the Project

git clone https://github.com/luftdaten-at/luftdaten-app.git
cd luftdaten-app

Project Setup

Installing Dependencies

Make sure to install all the required packages:

flutter pub get

Android Configuration

If you are developing for Android, make sure the Android emulator or a physical Android device is set up properly. Check that the Android SDK tools are available:

flutter doctor --android-licenses

iOS Configuration

If you are developing for iOS, ensure that Xcode and its related tools are correctly installed. You can verify everything is set up by running:

flutter doctor

Using the App

Running the App on an Emulator or Device

To run the app on an Android or iOS device/emulator, use the following command:

flutter run

This command will start the app in a debug environment. Ensure a device (either physical or virtual) is connected.

Building a Release

Create a release build of the app:

Flutter Commands

Here are some useful Flutter commands:

Contributing

Contributions to this project are always welcome! To contribute:

  1. Fork this repository.
  2. Create a branch for your feature: git checkout -b feature/YourFeature.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to your branch: git push origin feature/YourFeature.
  5. Open a Pull Request.

License

This project is licensed under the AGPL-3.0 license.