apache / cordova-common

Apache Cordova Common Tooling Library
https://cordova.apache.org/
Apache License 2.0
39 stars 40 forks source link

android: added monochrome attribute #197

Closed liyamahendra closed 1 year ago

liyamahendra commented 1 year ago

Platforms affected

Motivation and Context

Android 13 added support for Themed Icons. Since themed icons aren't yet supported on Cordova Android, adding support for Themed icons inside cordova-android required modification to this project as the former project uses getStaticResources function defined inside cordova-common

https://github.com/apache/cordova-android/issues/1450

Description

Added support for parsing the monochrome icon for Android when preparing / updating the icons.

Testing

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Merging #197 (8f415cf) into master (cc78c81) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #197      +/-   ##
==========================================
+ Coverage   88.38%   88.39%   +0.01%     
==========================================
  Files          20       20              
  Lines        1145     1146       +1     
==========================================
+ Hits         1012     1013       +1     
  Misses        133      133              
Impacted Files Coverage Δ
src/ConfigParser/ConfigParser.js 85.45% <100.00%> (+0.08%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

erisu commented 1 year ago

Why was this PR closed?

liyamahendra commented 1 year ago

@erisu Oh! I accidentally closed it thinking it was merged. Just opened it again.