diff --git a/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..324e781 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png differ diff --git a/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.png b/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..06bbd70 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-hdpi/ic_launcher_monochrome.png differ diff --git a/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..b35cbb4 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png differ diff --git a/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.png b/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..c5cf58b Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-mdpi/ic_launcher_monochrome.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..186fe45 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.png b/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..cf19b59 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xhdpi/ic_launcher_monochrome.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..7514e9d Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.png b/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..9add760 Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xxhdpi/ic_launcher_monochrome.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..e2a1bde Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png differ diff --git a/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.png b/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..1b7a04a Binary files /dev/null and b/phone_app/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_monochrome.png differ diff --git a/phone_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/phone_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..d506366 --- /dev/null +++ b/phone_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/phone_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/phone_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index db77bb4..6f0b0e7 100644 Binary files a/phone_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/phone_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/phone_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/phone_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index 17987b7..1b3ad33 100644 Binary files a/phone_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/phone_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/phone_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/phone_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 09d4391..e4ed190 100644 Binary files a/phone_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/phone_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/phone_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/phone_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index d5f1c8d..39658d7 100644 Binary files a/phone_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/phone_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/phone_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/phone_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 4d6372e..2406682 100644 Binary files a/phone_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/phone_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/phone_app/android/app/src/main/res/values/colors.xml b/phone_app/android/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..89a0cc8 --- /dev/null +++ b/phone_app/android/app/src/main/res/values/colors.xml @@ -0,0 +1,4 @@ + + + #1B1D21 + diff --git a/phone_app/assets/icon/icon.png b/phone_app/assets/icon/icon.png new file mode 100644 index 0000000..cbfbaee Binary files /dev/null and b/phone_app/assets/icon/icon.png differ diff --git a/phone_app/assets/icon/icon.svg b/phone_app/assets/icon/icon.svg new file mode 100644 index 0000000..58ed50f --- /dev/null +++ b/phone_app/assets/icon/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/phone_app/assets/icon/icon_foreground.png b/phone_app/assets/icon/icon_foreground.png new file mode 100644 index 0000000..8343974 Binary files /dev/null and b/phone_app/assets/icon/icon_foreground.png differ diff --git a/phone_app/assets/icon/icon_foreground.svg b/phone_app/assets/icon/icon_foreground.svg new file mode 100644 index 0000000..b211efc --- /dev/null +++ b/phone_app/assets/icon/icon_foreground.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/phone_app/assets/icon/icon_monochrome.png b/phone_app/assets/icon/icon_monochrome.png new file mode 100644 index 0000000..223a697 Binary files /dev/null and b/phone_app/assets/icon/icon_monochrome.png differ diff --git a/phone_app/assets/icon/icon_monochrome.svg b/phone_app/assets/icon/icon_monochrome.svg new file mode 100644 index 0000000..a2cb448 --- /dev/null +++ b/phone_app/assets/icon/icon_monochrome.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/phone_app/pubspec.lock b/phone_app/pubspec.lock index 30b0ea8..9802b68 100644 --- a/phone_app/pubspec.lock +++ b/phone_app/pubspec.lock @@ -9,6 +9,14 @@ packages: url: "https://pub.dev" source: hosted version: "5.3.1" + archive: + dependency: transitive + description: + name: archive + sha256: a96e8b390886ee8abb49b7bd3ac8df6f451c621619f52a26e815fdcf568959ff + url: "https://pub.dev" + source: hosted + version: "4.0.9" args: dependency: transitive description: @@ -41,6 +49,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.4.1" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f" + url: "https://pub.dev" + source: hosted + version: "2.0.4" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c + url: "https://pub.dev" + source: hosted + version: "0.4.2" clock: dependency: transitive description: @@ -119,6 +143,14 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + sha256: "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7" + url: "https://pub.dev" + source: hosted + version: "0.14.4" flutter_secure_storage: dependency: "direct main" description: @@ -201,6 +233,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.1.2" + image: + dependency: transitive + description: + name: image + sha256: "6300175e00616bbc832e2fc91bfa4d776af5402c81c7151bee6905bb08473c52" + url: "https://pub.dev" + source: hosted + version: "4.9.1" jni: dependency: transitive description: @@ -225,6 +265,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "2a743920d81b7910627f68ee2c9ac1fc0bfee32b9fc3403587d7c6791ca12f80" + url: "https://pub.dev" + source: hosted + version: "4.12.0" leak_tracker: dependency: transitive description: @@ -353,6 +401,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.0" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675" + url: "https://pub.dev" + source: hosted + version: "7.0.2" platform: dependency: transitive description: @@ -369,6 +425,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + posix: + dependency: transitive + description: + name: posix + sha256: "185ef7606574f789b40f289c233efa52e96dead518aed988e040a10737febb07" + url: "https://pub.dev" + source: hosted + version: "6.5.0" pub_semver: dependency: transitive description: @@ -614,6 +678,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + xml: + dependency: transitive + description: + name: xml + sha256: "67f0aff7be013d107995e9b75bf4e7f2c3ef2dfdb2c8e68024bba0a7fd5756a4" + url: "https://pub.dev" + source: hosted + version: "7.0.1" yaml: dependency: transitive description: diff --git a/phone_app/pubspec.yaml b/phone_app/pubspec.yaml index 0aa416e..07e1d25 100644 --- a/phone_app/pubspec.yaml +++ b/phone_app/pubspec.yaml @@ -25,9 +25,24 @@ dependencies: url_launcher: ^6.3.0 dev_dependencies: + # Generates the Android launcher icons from assets/icon/ (see + # python_pkg/app_icons in testsAndMisc for the shared style). + flutter_launcher_icons: ^0.14.4 flutter_test: sdk: flutter very_good_analysis: ^10.2.0 flutter: uses-material-design: true + +# Launcher icon generation. Source art is produced by the shared generator: +# PYTHONPATH=~/testsAndMisc python3 -m python_pkg.app_icons generate --app +# then run: dart run flutter_launcher_icons +flutter_launcher_icons: + android: true + ios: false + image_path: "assets/icon/icon.png" + adaptive_icon_background: "#1B1D21" + adaptive_icon_foreground: "assets/icon/icon_foreground.png" + adaptive_icon_monochrome: "assets/icon/icon_monochrome.png" + min_sdk_android: 21