Skip to content

Commit

Permalink
Fix launcher icon warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Oct 7, 2024
1 parent 9c9e93e commit cc9799e
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:theme="@style/Theme.App.Starting"
android:extractNativeLibs="true"
android:allowBackup="false"
android:banner="@drawable/banner"
android:banner="@mipmap/ic_banner"
android:name=".MullvadApplication"
tools:ignore="DataExtractionRules,GoogleAppIndexingWarning"/>
</manifest>
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
android:required="false" />
<uses-feature android:glEsVersion="0x00020000"
android:required="false" />

<application android:name=".MullvadApplication"
android:banner="@drawable/banner"
android:banner="@mipmap/ic_banner"
android:allowBackup="false"
android:fullBackupContent="@xml/full_back_content"
android:dataExtractionRules="@xml/data_extraction_rules"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:width="320dp"
android:height="180dp"
android:viewportWidth="640"
android:viewportHeight="360"
tools:ignore="VectorRaster">
<group android:scaleX="0.6666667"
android:scaleY="0.6666667"
android:translateX="106.666664"
android:translateY="60">
<path
android:pathData="M55,233.34C55,232.84 55.33,232.51 55.83,232.51H65.66C66.32,232.51 66.76,232.73 66.98,233.34L81.22,265.62H81.56L95.52,233.34C95.74,232.79 96.19,232.51 96.85,232.51H106.51C107.01,232.51 107.34,232.84 107.34,233.34V288.29C107.34,288.78 107.01,289.11 106.51,289.11H97.12C96.63,289.11 96.3,288.78 96.3,288.29V256.45H95.96L85.53,280.33C85.2,281.1 84.7,281.43 83.98,281.43H78.3C77.58,281.43 77.08,281.1 76.75,280.33L66.32,256.45H65.99V288.29C65.99,288.78 65.66,289.11 65.16,289.11H55.83C55.33,289.11 55,288.78 55,288.29V233.34Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M119.65,268.28V233.34C119.65,232.84 119.98,232.51 120.48,232.51H130.97C131.46,232.51 131.79,232.84 131.79,233.34V268.61C131.79,275.3 135.55,279.17 141.24,279.17C146.87,279.17 150.57,275.35 150.57,268.61V233.34C150.57,232.84 150.9,232.51 151.39,232.51H161.88C162.38,232.51 162.71,232.84 162.71,233.34V268.28C162.71,282.32 153.77,290 141.18,290C128.59,290.05 119.65,282.37 119.65,268.28Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M174.97,233.34C174.97,232.84 175.3,232.51 175.8,232.51H186.29C186.78,232.51 187.11,232.84 187.11,233.34V277.67C187.11,278.01 187.28,278.17 187.61,278.17H212.45C212.95,278.17 213.28,278.5 213.28,279V288.23C213.28,288.73 212.95,289.06 212.45,289.06H175.8C175.3,289.06 174.97,288.73 174.97,288.23V233.34Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M222.28,233.34C222.28,232.84 222.61,232.51 223.11,232.51H233.6C234.1,232.51 234.43,232.84 234.43,233.34V277.67C234.43,278.01 234.59,278.17 234.92,278.17H259.77C260.27,278.17 260.6,278.5 260.6,279V288.23C260.6,288.73 260.27,289.06 259.77,289.06H223.11C222.61,289.06 222.28,288.73 222.28,288.23V233.34Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M277.93,289.06C277.38,289.06 277.05,288.73 276.88,288.23L258.99,233.4C258.83,232.79 259.16,232.51 259.71,232.51H270.48C271.03,232.51 271.42,232.73 271.58,233.34L282.85,270.49H283.07L294,233.34C294.16,232.79 294.49,232.51 295.05,232.51H305.7C306.2,232.51 306.53,232.84 306.36,233.4L288.48,288.23C288.31,288.73 287.98,289.06 287.48,289.06H277.93Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M326.29,233.34C326.46,232.84 326.79,232.51 327.4,232.51H337.83C338.38,232.51 338.72,232.84 338.88,233.34L357.93,288.29C358.09,288.78 357.93,289.11 357.38,289.11H346.61C346.06,289.11 345.67,288.84 345.51,288.29L342.3,278.39H322.6L319.45,288.29C319.28,288.84 318.95,289.11 318.34,289.11H307.52C306.97,289.11 306.8,288.78 306.97,288.29L326.29,233.34ZM338.94,267.94L332.59,248.16H332.37L326.02,267.94H338.94Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M366.15,233.34C366.15,232.84 366.48,232.51 366.98,232.51H387.91C397.73,232.51 404.63,236.71 407.34,245.23C408.33,248.38 408.83,251.53 408.83,260.76C408.83,269.99 408.33,273.14 407.34,276.29C404.63,284.8 397.73,289.01 387.91,289.01H366.98C366.48,289.01 366.15,288.67 366.15,288.18V233.34ZM378.85,278.23H385.2C390.83,278.23 394.2,276.57 395.64,272.04C396.19,270.38 396.57,268.22 396.57,260.87C396.57,253.52 396.24,251.36 395.64,249.7C394.26,245.17 390.83,243.51 385.2,243.51H378.85C378.52,243.51 378.36,243.68 378.36,244.01V277.78C378.3,278.06 378.47,278.23 378.85,278.23Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M453.27,289.06C452.67,289.06 452.33,288.73 452.17,288.23L434.28,233.4C434.12,232.79 434.45,232.51 435,232.51H445.77C446.32,232.51 446.7,232.73 446.87,233.34L458.13,270.49H458.35L469.28,233.34C469.45,232.79 469.78,232.51 470.33,232.51H480.99C481.48,232.51 481.82,232.84 481.65,233.4L463.87,288.23C463.71,288.73 463.38,289.06 462.88,289.06H453.27Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M490.59,289.11C490.1,289.11 489.77,288.78 489.77,288.29V233.34C489.77,232.84 490.1,232.51 490.59,232.51H512.46C524.71,232.51 532.05,239.92 532.05,250.7C532.05,261.37 524.6,268.83 512.46,268.83H502.46C502.13,268.83 501.97,268.99 501.97,269.33V288.18C501.97,288.67 501.64,289.01 501.14,289.01H490.59V289.11ZM519.85,250.75C519.85,246.22 516.82,243.07 511.68,243.07H502.41C502.08,243.07 501.91,243.24 501.91,243.57V257.77C501.91,258.11 502.08,258.27 502.41,258.27H511.68C516.82,258.33 519.85,255.34 519.85,250.75Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M541.55,233.34C541.55,232.84 541.88,232.51 542.38,232.51H552.32C552.87,232.51 553.42,232.73 553.7,233.34L573.57,268.94H574.01V233.34C574.01,232.84 574.34,232.51 574.84,232.51H584.17C584.67,232.51 585,232.84 585,233.34V288.29C585,288.78 584.67,289.11 584.17,289.11H574.34C573.68,289.11 573.24,288.84 572.97,288.29L553.03,252.8H552.59V288.29C552.59,288.78 552.26,289.11 551.77,289.11H542.43C541.94,289.11 541.61,288.78 541.61,288.29L541.55,233.34Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M263.63,123.4L259.71,131.36L265.,123.95C265.01,124 264.68,134.62 264.68,134.62L266.17,126.6C270.15,134.18 278.92,145.84 291.24,154.52C292.17,155.18 293.39,156.34 293.78,156.78C293.78,156.78 305.54,162.75 323.64,148.93C323.81,148.82 324.03,148.71 324.2,148.6L324.47,148.77L328.45,151.42C327.07,151.04 324.42,150.37 324.42,150.37C315.69,160.43 301.51,162.09 293.89,157.01C293.55,156.78 291.68,157.56 291.35,158.66C291.13,159.27 291.35,159.93 291.62,160.43C293.17,163.31 295.49,163.03 294.38,166.4C293.61,168.23 292.51,169.99 291.29,171.65C288.75,175.08 284.78,178.12 285.16,179.95C303.16,202.17 343.74,199.07 359.2,179.23C358.98,176.35 354.45,174.97 351.3,167.95C352.19,168.23 353.51,168.61 353.51,168.56C353.51,168.5 349.76,162.42 349.59,161.81L352.02,161.98C352.02,161.98 348.82,158 348.71,157.61L351.97,157.17C351.97,157.17 347.88,152.47 347.83,152.09L351.97,152.75L347.44,147.28H349.59L347.05,143.57L326.46,135.45C318.57,130.53 311.55,124.5 306.25,119.86L295.6,114.66C285.38,113.89 275.83,114.17 269.98,115.33L273.73,108.92L268.27,115.44C267.94,115.33 267.55,115.22 267.55,115.22L267.94,106.93L266.12,114.66L263.63,123.4Z"
android:fillColor="#D2943B"
android:fillType="evenOdd"
tools:ignore="VectorPath" />
<path
android:pathData="M266.12,114.66C263.41,113.39 260.27,115.22 259.71,117.7C259.05,120.08 260.71,123.01 263.63,123.4C266.39,121.68 268.77,117.26 266.12,114.66Z"
android:fillColor="#FFCD86"
android:fillType="evenOdd"/>
<path
android:pathData="M306.31,108.64C305.48,106.37 305.7,103.44 306.86,100.68C308.52,96.86 311.66,94.32 314.64,94.32C315.25,94.32 315.8,94.43 316.36,94.65C318.07,93.11 320.05,91.83 322.26,90.95C334.41,86.09 352.24,94.76 356.82,106.7C359.03,112.51 358.37,118.81 356.49,124.61C354.95,129.37 349.32,136.22 351.41,141.36C350.58,141.14 333.3,135.28 328.34,132.63C320.55,127.76 313.6,121.79 308.35,117.21L308.18,117.04L290.52,108.64C290.3,108.53 290.08,108.42 289.91,108.31C292.34,108.42 302,109.58 306.31,108.64Z"
android:fillColor="#FFD524"
android:fillType="evenOdd"/>
<path
android:pathData="M317.35,105.18C319.02,101.38 318.53,97.49 316.27,96.5C314,95.51 310.82,97.79 309.16,101.6C307.5,105.4 307.98,109.29 310.25,110.28C312.51,111.27 315.69,108.99 317.35,105.18Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M316.74,95.48C313.82,94.21 309.9,96.7 307.96,101.07C306.03,105.43 306.92,109.96 309.84,111.29C312.77,112.56 316.69,110.07 318.62,105.71C320.55,101.34 319.67,96.81 316.74,95.48ZM317.02,105.04C315.47,108.53 312.55,110.63 310.5,109.74C308.41,108.8 307.96,105.27 309.51,101.73C311.06,98.25 313.98,96.15 316.08,97.03C318.12,97.97 318.57,101.56 317.02,105.04Z"
android:fillColor="#192E45"/>
</group>
</vector>
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
xmlns:tools="http://schemas.android.com/tools"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M74.2,74.5c-8,10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,0.5 -4,2.6c-0.9,2 -0.5,4.1 0.9,4.7c1.3,0.6 3.2,-0.5 4,-2.6C53.7,34.3 53.3,32.1 52,31.6z"
android:fillColor="#000000"
android:fillType="evenOdd" />
android:fillType="evenOdd"
tools:ignore="VectorPath" />
</vector>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions android/lib/resource/src/main/res/mipmap/ic_banner.xml
Original file line number Diff line number Diff line change
@@ -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="@color/ic_banner_background"/>
<foreground android:drawable="@drawable/ic_banner_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_banner_background">#192E45</color>
</resources>

0 comments on commit cc9799e

Please sign in to comment.