Nexus_10_API_30 • Nexus 10 API 30 • Google • android Nexus_7_2012_API_30 • Nexus 7 (2012) API 30 • Google • android Pixel_4_Edited_1_API_30 • Pixel 4 (Edited) 1 API 30 • User • android
launch these for the first time: flutter emulators --lanch nexus_7 flutter emulators --lanch nexus_10 flutter emulators --lanch pixel
For the tablets change to horizontal view.
Install frameit_chrome: dart pub global activate frameit_chrome
create title.strings and key.word.strings with screenshots make sure the first debug company is created.
In growerp/packages/admin dir:
flutter pub run utils:screenshots
Only framing:
flutter pub global run frameit_chrome
--base-dir=android/fastlane/metadata/android
--frames-dir=android/fastlane/frames
--chrome-binary="/usr/bin/google-chrome-stable"
--pixel-ratio=1
Move the framed images in fastlane/metadata/framed/en-US to the respective directories under: metadata/android/en-US/images: phoneScreenshots, seveninchScreenshots,teninchScreenshots
increase in pubspec.yaml version+buildnr buildnr should always increase, version is shown to the user
adjust the backend urls (test or production) in assets/cfg/app_settings.json
create app bundle in admin home: flutter build appbundle
Upload in Play store: (in android dir)
(everything including build/meta/screenshots)
fastlane supply
--aab ../build/app/outputs/bundle/release/app-release.aab
--track beta --in_app_update_priority 3
upload just binary: fastlane upload
check file fastfile for another actions.
which contains the following info: storePassword=xxxxx keyPassword=xxxxx keyAlias=xxxxx storeFile=xxxxxxx
(do NOT upload the actual file into git!) to create a link in linux in the android directory: ln -s key.properties here/your/actual/file
which contains the following info:
sdk.dir=/home/dell/Android/Sdk
flutter.sdk=/home/dell/snap/flutter/common/flutter
flutter.buildMode=release
flutter.versionName=0.0.1
flutter.versionCode=5
make sure this file is referenced in build.gradle: def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") }
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '3' }
def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0'
flutter build appbundle
flutter create --org org/growerp/admin . init: fastlane supply init
(everything including build/meta/screenshots)
fastlane supply
--aab /home/dell/admin/build/app/outputs/bundle/release/app-release.aab
--track beta --in_app_update_priority 3
(upload just binary) fastlane upload