Quotesbook

Flutter project for Quotesbook mobile app.

Setup

  1. Add lib/environment.dart file with
class Environment {
  static const AUTH_TOKEN = "...";
  static const SERVER_HOST = "...";
}

Remember to add the google-services.json to the android/app folder. Get this from the firebase
project.

Add android/key.properties to sign apk/bundle.

To generate internationalizations

  1. Update the lib/helpers/app_localizations.dart with the new texts.ยก

  2. Create base arb base file for localization.

flutter pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/helpers/app_localizations.dart
  1. Update the files I10n/intl_*.arb languages specific files with translations.

  2. Generate source code for localization messages from arb files.

flutter pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/helpers/app_localizations.dart lib/l10n/intl_*.arb