nru ranepa mobile client 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
Comments are closed.