NRU RANEPA Timetable
Custom open-source NRU RANEPA mobile client written on Flutter.
Project setup
Android:
- Create key.properties to /android with:
storePassword=# STORE PASSWORD #
keyPassword=# KEY PASSWORD #
keyAlias=# KEY ALIAS #
storeFile=/path/to/keystore/# FILENAME #.keystore
iOS:
- Open Podfile.lock
1.1. Uncomment "platform :ios, '9.0''
1.2. Add use_frameworks!
after platform
1.3. add config.build_settings['SWIFT_VERSION'] = '4.0'
after ENABLE_BITCODE
.
- Create "File.swift" to /ios with:
import Foundation
References, used in the development
Localization flutter app
Icons for IOS/Android versions for Flutter app
Useful commands
Regenerate .arb translations files
flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/localizations.dart
Regenerate translations classes
flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/localizations.dart lib/l10n/intl_messages.arb lib/l10n/intl_ru.arb
Regenerate icons
flutter pub pub run flutter_launcher_icons:main
Regenerate all json serialized .g.dart files
flutter packages pub run build_runner build --delete-conflicting-outputs