daniele-athome / airborne-ionic

Minimal aircraft management app for small groups (unmaintained Ionic app)
0 stars 0 forks source link
aircraft airplane aviation flight-logbook ionic-framework pilots-team

Airborne

This app is not maintained any more.
Complete rewrite in Flutter available at https://github.com/daniele-athome/airborne

Minimal aircraft management app for small groups.

Features

Setup

If you haven't done it already, install Ionic CLI first:

$ npm install -g @ionic/cli

Install dependencies:

$ npm install

Configuration

Copy src/environments/environment.prod.example.ts over to src/environments/environment.prod.ts and modify it to your liking. Configuration keys are explained inside.

Copy your Google service account JSON file to src/assets/data/service_account.json. The service account should have access to the Google Sheet and Calendar you provided in the configuration file above.

Build

The app is designed to have everything inside it for one aircraft only. So we'll change the app metadata to match your aircraft identifier. Remember: 1 app = 1 aircraft.

For Android

Please refer to Ionic documention for requirements.

$ ionic sync android --prod

TODO flavors should be use for this

Then create a file android/environment.gradle with:

ext {
    // insert your full aircraft identification here
    aircraftId = 'I-8104'
    // this will be used to uniquely identify the Android app
    // just the aircraftId, remove the dash and convert it all to lower case
    idSuffix = 'i8104'
}

For iOS

Please refer to Ionic documention for requirements.

$ ionic sync ios --prod

You should then create two new build configurations (one for debug and one for release) for your aircraft identifier. For those two new configurations:

This way you keep the original "neutral" build configurations untouched and create new ones for every airacraft you need to manage.