Commit c186ea5

Sébastien Delord <57289288+sebastien46@users.noreply.github.com>
2023-12-09 17:43:02
Fix: Added round icon support for devices that support it
Signed-off-by: Sébastien Delord <57289288+sebastien46@users.noreply.github.com>
1 parent a54b229
Changed files (2)
android
app
src
main
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@color/android:white"/>
+    <foreground android:drawable="@drawable/icon"/>
+    <monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
+</adaptive-icon>
android/app/src/main/AndroidManifest.xml
@@ -10,7 +10,8 @@
    <application
         android:label="blood pressure app"
         android:name="${applicationName}"
-        android:icon="@mipmap/ic_launcher">
+        android:icon="@mipmap/ic_launcher"
+        android:roundIcon="@mipmap/ic_launcher">
         <activity
             android:name=".MainActivity"
             android:exported="true"