Based on Trufi Core https://github.com/AddisMap/trufi-core/releases/
- Tag new Trufi Core release, update pubspec.yaml
- Flutter 3.3.3
- Africa Tiles
- For Android and iOS
Warning: BBOX Params are flipped!
git clone https://github.com/trufi-association/osm-search-data-export.git
cd osm-search-data-export
docker build . --tag osm-search-data-export:latest
docker run --volume /tmp:/data osm-search-data-export --input overpass --bbox "8.82,38.63,9.11,38.91" --output json-compact --outpath /data/search.json
cp /tmp/search.json ../AddisMapTransit/assets/data/search.json
See also Fastlane.tools
sudo apt install ruby ruby-dev
sudo gem install fastlane
- Bump version in pubspec.yaml
- Add changelog in
fastlane/metadata/android/en-US/changelogs
- Push to GitHub, merge to master, make a new tag
flutter build apk --analyze-size --target-platform android-arm
- Upload apk to GitHub
- Build an use fastlane supply
flutter build appbundle
cd android && fastlane supply --track internal --aab ../build/app/outputs/bundle/release/app-release.aab --version-code x # replace by the version code from pubspec.yaml
- Go to playstore, check everything and promote from the internal to the the public track
- Open Browserstack
- Google Pixel 6
Save in android/fastlane/metadata/android/en-US/images/phoneScreenshots
Screenshot 1 - Start app / overview screen Screenshot 2 - Routeplanner (to Show map), then open side drawer Screenshot 3 - Parking Airport to Bandira Addis Map -> Overview of routes (no map) Screenshot 4 - pull down overview, show map as well Screenshot 5 - Your places (after favoriting Bandira Addis Map) Screenshot 6 - Show routes
- Galaxy Tab S7
- Rotate Device
Save android/fastlane/metadata/android/en-US/images/tenInchScreenshots + sevenInchScreenshots
For iOS:
BrowserStack -> TestFlight -> Sign In
- iPhone 11 Pro Max (6.5" screen)
- iPhone 8 Plus (5.5" screen)
- iPad Pro 12.9 2021 (6th gen)
- iPad Pro 12.9 2017 (2th gen)
flutter build apk --analyze-size --target-platform android-arm
We are developing at MacStadium.com (thank you!)
- Install Xcode via App Store (Free)
- Also run
xcode-select --install
to install Cmdline tools sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- open xcode, accept licenses
- Also run
- Refer to https://docs.flutter.dev/get-started/install/macos to install flutter
- Download the ZIP, extract to development/
- Add path to .bash_profile
export PATH="$PATH:/Users/administrator/development/flutter/bin"
flutter doctor
- install homebew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- install cocoapods
brew install cocoapods
- Clone this git
cd ~/development && git clone https://github.com/AddisMap/addismaptransit
cd addismaptransit
- Setup signing as instructed by
flutter build ios
- open ios/Runner.xcworkspace
- Select or create development signing certificate
In Xcode:
- Product -> Destination -> Any iOS Device
- Product -> Archive
- Opens the uploader, click next, next, next ...
- Publish via https://appstoreconnect.apple.com/