Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.96 KB

README.md

File metadata and controls

61 lines (50 loc) · 1.96 KB

instantonnection

instant + connection 即席でグループ作って、連絡できるチャットアプリ

Download the app here

Google Play で手に入れよう

How to build

  • Set the following environment variables:
GOOGLE_APP_ID_IOS=
GOOGLE_APP_ID_ANDROID=
GOOGLE_API_KEY=
GOOGLE_PROJECT_ID=
FIREBASE_STORAGE_BUCKET=
ADMOB_IDS_IOS=
ADMOB_IDS_ANDROID=
INTERSTITIAL_UNIT_IOS=
INTERSTITIAL_UNIT_ANDROID=
BASE_WEB_URL=
BASE_SUBSCRIPTION_API_URL=

It's easy to create .credential.sh and run the following command:

$ export $(grep -v '^#' .credential_development.sh | xargs -0)
  • Create toot/.env.dart using the following command:
$ dart tool/env.dart

You may need to set path of dart command.

  • For ready before build, run the following commands:
flutter clean
flutter pub get
flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/l10n/strings.dart
flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/l10n/strings.dart lib/l10n/intl_messages.arb lib/l10n/intl_ja.arb
flutter pub pub run build_runner build --delete-conflicting-outputs
dart tool/env.dart
  • Build Android for development
    • Android
    $ flutter build apk -t lib/application/main_development.dart --flavor development
    
    • iOS
    $ flutter -v build ios -t lib/application/main_development.dart --flavor development