fiFoFy / pdr

Traffic Laws Tests for Ukraine made in Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pdr

Path

export PATH=$PATH:/Users/mac/Documents/sandbox/flutter/udemy/flutter/bin
flutter packages pub run flutter_launcher_icons:main

TODO:

Images

assets/questions - self made images assets/images - original images

Resize images trick

brew install imagemagick
./resize.sh

Build

flutter build apk
flutter build ios --release

APK located at: build/app/outputs/apk/release/app-release.apk APP located at: build/ios/iphoneos/Runner.app

Release

Change version in pubspec.yaml

version: 1.3.0+4 -> version: 1.3.0+5 e.g. increment last number without it google wont allow you to upload apk complying it already have this version

Google

Go to Release management \ App releases and click on manage link in production track

In production releases window click on "Create release" button

Tap on "Browse files" button and choose apk

Apple

open ios/Runner.xcworkspace

menu Product \ Archive \ Distribute App

open source questions and images

codemagic.io

python -c 'import os, json; print json.dumps(os.listdir("assets/questions"))' > assets/questions.json

Prerequisites

brew tap dart-lang/dart
brew install dart
git clone https://github.com/flutter/flutter
export PATH=$PATH:~/src/github.com/flutter/flutter/bin

Keys

Put key.properties and key.jks to android directory

Privacy policy

WebsitePolicies

About

Traffic Laws Tests for Ukraine made in Flutter


Languages

Language:Dart 56.5%Language:Python 23.3%Language:Ruby 13.6%Language:Swift 2.5%Language:Kotlin 2.0%Language:Shell 1.9%Language:Objective-C 0.2%