6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 9951736e

AuthorMikkel Thygesen<mth@dwarf.dk>
Date2025-01-20 13:21:12 +0100
552-startup-crash-bug

Changed files

.../android/app/src/main/ic_launcher-playstore.png | Bin 0 -> 17917 bytes
 .../main/res/drawable/ic_launcher_background.xml   |  74 +++++++++++++++++++++
 .../src/main/res/mipmap-anydpi-v26/ic_launcher.xml |   5 ++
 .../res/mipmap-anydpi-v26/ic_launcher_round.xml    |   5 ++
 .../main/res/mipmap-anydpi-v26/launcher_icon.xml   |   3 -
 .../app/src/main/res/mipmap-hdpi/ic_launcher.png   | Bin 544 -> 0 bytes
 .../app/src/main/res/mipmap-hdpi/ic_launcher.webp  | Bin 0 -> 2004 bytes
 .../res/mipmap-hdpi/ic_launcher_foreground.webp    | Bin 0 -> 5880 bytes
 .../main/res/mipmap-hdpi/ic_launcher_round.webp    | Bin 0 -> 3212 bytes
 .../app/src/main/res/mipmap-mdpi/ic_launcher.png   | Bin 442 -> 0 bytes
 .../app/src/main/res/mipmap-mdpi/ic_launcher.webp  | Bin 0 -> 1504 bytes
 .../res/mipmap-mdpi/ic_launcher_foreground.webp    | Bin 0 -> 3426 bytes
 .../main/res/mipmap-mdpi/ic_launcher_round.webp    | Bin 0 -> 2030 bytes
 .../app/src/main/res/mipmap-xhdpi/ic_launcher.png  | Bin 721 -> 0 bytes
 .../app/src/main/res/mipmap-xhdpi/ic_launcher.webp | Bin 0 -> 2904 bytes
 .../res/mipmap-xhdpi/ic_launcher_foreground.webp   | Bin 0 -> 8602 bytes
 .../main/res/mipmap-xhdpi/ic_launcher_round.webp   | Bin 0 -> 4660 bytes
 .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes
 .../src/main/res/mipmap-xxhdpi/ic_launcher.webp    | Bin 0 -> 4464 bytes
 .../res/mipmap-xxhdpi/ic_launcher_foreground.webp  | Bin 0 -> 15574 bytes
 .../main/res/mipmap-xxhdpi/ic_launcher_round.webp  | Bin 0 -> 7398 bytes
 .../src/main/res/mipmap-xxxhdpi/ic_launcher.png    | Bin 1443 -> 0 bytes
 .../src/main/res/mipmap-xxxhdpi/ic_launcher.webp   | Bin 0 -> 6218 bytes
 .../res/mipmap-xxxhdpi/ic_launcher_foreground.webp | Bin 0 -> 16758 bytes
 .../main/res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 0 -> 10804 bytes
 comwell_key_app/flutter_launcher_icons.yaml        |   7 +-
 comwell_key_app/lib/utils/firebase.dart            |   2 +-
 27 files changed, 89 insertions(+), 7 deletions(-)

Diff

diff --git a/comwell_key_app/android/app/src/main/ic_launcher-playstore.png b/comwell_key_app/android/app/src/main/ic_launcher-playstore.png
new file mode 100644
index 00000000..7dcfc036
Binary files /dev/null and b/comwell_key_app/android/app/src/main/ic_launcher-playstore.png differ
diff --git a/comwell_key_app/android/app/src/main/res/drawable/ic_launcher_background.xml b/comwell_key_app/android/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..ca3826a4
--- /dev/null
+++ b/comwell_key_app/android/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector
+ android:height="108dp"
+ android:width="108dp"
+ android:viewportHeight="108"
+ android:viewportWidth="108"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillColor="#3DDC84"
+ android:pathData="M0,0h108v108h-108z"/>
+ <path android:fillColor="#00000000" android:pathData="M9,0L9,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,0L19,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M29,0L29,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M39,0L39,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M49,0L49,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M59,0L59,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M69,0L69,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M79,0L79,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M89,0L89,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M99,0L99,108"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,9L108,9"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,19L108,19"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,29L108,29"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,39L108,39"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,49L108,49"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,59L108,59"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,69L108,69"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,79L108,79"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,89L108,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M0,99L108,99"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,29L89,29"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,39L89,39"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,49L89,49"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,59L89,59"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,69L89,69"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M19,79L89,79"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M29,19L29,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M39,19L39,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M49,19L49,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M59,19L59,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M69,19L69,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+ <path android:fillColor="#00000000" android:pathData="M79,19L79,89"
+ android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
+</vector>
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..c4a603d4
--- /dev/null
+++ b/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@drawable/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..c4a603d4
--- /dev/null
+++ b/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@drawable/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml b/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml
deleted file mode 100644
index 55aebf98..00000000
--- a/comwell_key_app/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
-</adaptive-icon>
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4b..00000000
Binary files a/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 00000000..c0266b45
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000..52f580a7
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..7770a144
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b79..00000000
Binary files a/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 00000000..a89e921d
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000..5d4c1f33
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..bcd7b48e
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 09d43914..00000000
Binary files a/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 00000000..f85b2c6d
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000..1c474fc5
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..e81037ae
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d3..00000000
Binary files a/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 00000000..e1a94008
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000..c835137e
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..b8a7cbe8
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372ee..00000000
Binary files a/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 00000000..2f7f7ffd
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000..b7bcd078
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ
diff --git a/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..debcd1c5
Binary files /dev/null and b/comwell_key_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/comwell_key_app/flutter_launcher_icons.yaml b/comwell_key_app/flutter_launcher_icons.yaml
index 347d33d1..e93216b4 100644
--- a/comwell_key_app/flutter_launcher_icons.yaml
+++ b/comwell_key_app/flutter_launcher_icons.yaml
@@ -2,9 +2,10 @@
flutter_launcher_icons:
image_path: "assets/icon/icon.png"
- android: "launcher_icon"
- image_path_android: "assets/icons/app_icon.png"
- min_sdk_android: 21 # android min sdk min:16, default 21
+ android: false
+ # image_path_android: "assets/icons/app_icon.png"
+ # min_sdk_android: 21 # android min sdk min:16, default 21
+
# adaptive_icon_background: "assets/icon/background.png"
# adaptive_icon_foreground: "assets/icon/foreground.png"
# adaptive_icon_monochrome: "assets/icon/monochrome.png"
diff --git a/comwell_key_app/lib/utils/firebase.dart b/comwell_key_app/lib/utils/firebase.dart
index 179ec061..6f518694 100644
--- a/comwell_key_app/lib/utils/firebase.dart
+++ b/comwell_key_app/lib/utils/firebase.dart
@@ -12,7 +12,7 @@ Future<void> configureFirebase() async {
'prod' => prod.DefaultFirebaseOptions.currentPlatform,
'stage' => stage.DefaultFirebaseOptions.currentPlatform,
'test' => test.DefaultFirebaseOptions.currentPlatform,
- 'dev' => dev.DefaultFirebaseOptions.currentPlatform,
+ 'develop' => dev.DefaultFirebaseOptions.currentPlatform,
_ => throw UnsupportedError('Invalid flavor: $appFlavor'),
};
await Firebase.initializeApp(options: firebaseOptions);