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
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.
Therefore, I have specified my icons with a fallback as follow:
I would expect that the *-legacy.png Icons are only used on devices which do not support adaptive icons (Android < 8).
What does actually happen?
The legacy icons are displayed even on devices which support adaptive icons (Android 8.1.0 device)
Information
The documentation also says:
To use the adaptive icons the background and foreground attributes must be defined in place of the src attribute. The src attribute is not used for adaptive icons.
Which is somewhat contrary to the other statement. So I am not really sure how it is actually supposed to behave.
Btw., the latest documentation with the description for the adaptive icon does not seem to be released yet (At least it says it is under development). Are you aware of that?
Environment, Platform, Device
BQ Aquaris Pro (Android 8.1.0)
Version information
Cordova CLI 8.1.2
Cordova Android 8.0.0
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
This is due to an issue with how different versions of cordova-common are used, and should be fixed when the cordova@9 CLI is published to npm.
Beyond that though, I'm hoping to address this issue from another angle in a patch release so that adaptive icons will work even with older versions of the CLI.
Bug Report
Problem
What is expected to happen?
The documentation says:
Therefore, I have specified my icons with a fallback as follow:
I would expect that the *-legacy.png Icons are only used on devices which do not support adaptive icons (Android < 8).
What does actually happen?
The legacy icons are displayed even on devices which support adaptive icons (Android 8.1.0 device)
Information
The documentation also says:
Which is somewhat contrary to the other statement. So I am not really sure how it is actually supposed to behave.
Btw., the latest documentation with the description for the adaptive icon does not seem to be released yet (At least it says it is under development). Are you aware of that?
Environment, Platform, Device
BQ Aquaris Pro (Android 8.1.0)
Version information
Cordova CLI 8.1.2
Cordova Android 8.0.0
Checklist
The text was updated successfully, but these errors were encountered: