You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target | *Optional* <br/> {% cdv_platform electron %} <br/> Set target to supply unique icons for `app` and `installer`
47
47
48
-
The following configuration can be used to define a single default icon
49
-
which will be used for all platforms.
50
-
```xml
51
-
<iconsrc="res/icon.png" />
52
-
```
53
-
For each platform, you can also define a pixel-perfect icon set to fit
54
-
different screen resolutions.
55
-
56
48
## Android
57
49
58
-
Instead of using a single image for an icon, you can use two images (background and foreground) to create an **Adaptive Icon**. To use Adaptive Icons in Cordova, at minimum**Cordova CLI** 9.0.0 and **Cordova-Android** 8.0.0 is required.
50
+
Android's **Adaptive Icons** feature enables you to create separate foreground and background layers for your App Icons. To use Adaptive Icons in Cordova, you need at least**Cordova CLI** 9.0.0 and **Cordova-Android** 8.0.0.
59
51
60
-
Android 13 has introduced themed icons which are monochrome images appended to the existing **Adaptive Icons**. To use Themed Icon in Cordova, at minimum**Cordova CLI** 12.0.0 and **Cordova-Android** 12.0.0 is required.
52
+
With Android 13, Google introduced **Themed Icons**, which are monochrome variations of **Adaptive Icons** that integrate seamlessly with the system's color scheme. To use **Themed Icons** in Cordova, you'll need at least**Cordova CLI** 12.0.0 and **Cordova-Android** 12.0.0.
@@ -71,6 +63,7 @@ density | *Required* <br/> Specified icon density
71
63
To use the adaptive icons the `background`, `foreground` and optionally `monochrome` attributes must be defined in place of the `src` attribute. The `src` attribute is not used for adaptive icons.
@@ -85,6 +78,7 @@ To use the adaptive icons the `background`, `foreground` and optionally `monochr
85
78
**Note:** In this example, the foreground image will also be used as the fallback icon for Android devices that do not support the adaptive icons. The fallback icon can be overridden by setting the src attribute.
0 commit comments