Add adaptive Android icon support and fix app label

This commit is contained in:
Hamid Elaosta
2026-06-18 01:10:25 +01:00
parent 5670ab0067
commit 7fc253cc88
12 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
<uses-feature android:name="android.hardware.usb.host" android:required="false"/>
<application
android:label="meshcore_open"
android:label="MeshCore Open"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<service
Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground>
<inset
android:drawable="@drawable/ic_launcher_foreground"
android:inset="16%" />
</foreground>
</adaptive-icon>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#9F9D95</color>
</resources>
Binary file not shown.

After

Width:  |  Height:  |  Size: 669 KiB

+2
View File
@@ -117,6 +117,8 @@ flutter_launcher_icons:
ios: true
image_path: "mesh-icon.png"
remove_alpha_ios: true
adaptive_icon_background: "#9F9D95"
adaptive_icon_foreground: "assets/icons/ic_foreground.png"
# To add assets to your application, add an assets section, like this:
# assets: