/liftoff

🐒 A mobile client for lemmy

Primary LanguageDartGNU General Public License v2.0GPL-2.0

Chat on Matrix

Liftoff!

A mobile client for Lemmy - a federated reddit alternative

Screenshots

Card View Compact Search
109962ec-2859-4744-9941-4aad016b1a4a b34bd59e-8097-416f-8fc0-5dcd980a1e1d 7788ed7b-2054-4b93-afbf-dda3fe80c2e8

Contributing

Please consider contributing! Even if you don't know flutter well use this as a chance to learn! Contributing Guide

Join us on the matrix for support in contributions! #liftoff-dev:matrix.org

Build from source

Prerequisites

  • Install flutter: To check if this step was successful run flutter doctor (Installing android studio is not required if you setup the android SDK yourself)
  • Clone this repo: git clone https://github.com/liftoff-app/liftoff
  • Enter the repo: cd liftoff

iOS

Visual Studio Code build configurations are provided for development testing.

For final release, run:

  1. flutter build ipa --flavor prod

The .api will be in build/ios/ipa

Android

  1. Build: flutter build apk --flavor prod --target lib/main_prod.dart --release

The apk will be in build/app/outputs/flutter-apk/app-prod-release.apk

Linux

  1. Make sure you have the additional linux requirements (verify with flutter doctor)
  2. Build: flutter build linux --target lib/main_prod.dart --release

The executable will be in build/linux/x64/release/bundle/liftoff (be aware, however, that this executable is not standalone)

Windows

  1. Make sure you have the additional windows requirements (verify with flutter doctor)
  2. Build: flutter build windows --target lib/main_prod.dart --release

The executable will be in build\windows\runner\Release\liftoff.exe (be aware, however, that this executable is not standalone)

FAQ

Version x.x.x was released, why is it not yet on F-droid?

We have no control over F-droid's build process. This process is automatic and not always predictable in terms of time it takes. If a new version does not appear in F-droid a week after its release, then feel free to open an issue about it and we will look into it.

"App not installed" - what to do?

When installing the APK directly you might get this message. This happens when you are trying to update liftoff from a different source than where you originally got it from. To fix it simply uninstall the previous version (you will lose all local data) and then install the new one. Always make sure to install liftoff APKs only from verified sources.