You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by su...@apache.org on 2017/09/21 23:08:22 UTC
[cordova-ios] 02/04: CB-13191: (ios) Support marketing icon (#337)
This is an automated email from the ASF dual-hosted git repository.
surajpindoria pushed a commit to branch 4.5.x
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git
commit befd0cfbffebd8bc8840043d6fc17f69bcd5f716
Author: Christian Speckner <ch...@mayflower.de>
AuthorDate: Thu Sep 21 02:07:05 2017 +0200
CB-13191: (ios) Support marketing icon (#337)
---
.../Images.xcassets/AppIcon.appiconset/Contents.json | 6 ++++++
bin/templates/scripts/cordova/lib/prepare.js | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json b/bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
index d19e65f..917881d 100644
--- a/bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -121,6 +121,12 @@
"scale" : "2x"
},
{
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "icon-1024.png",
+ "scale" : "1x"
+ },
+ {
"size" : "24x24",
"idiom" : "watch",
"scale" : "2x",
diff --git a/bin/templates/scripts/cordova/lib/prepare.js b/bin/templates/scripts/cordova/lib/prepare.js
index 71c3ab9..d4fb8b3 100644
--- a/bin/templates/scripts/cordova/lib/prepare.js
+++ b/bin/templates/scripts/cordova/lib/prepare.js
@@ -328,7 +328,8 @@ function mapIconResources (icons, iconsDir) {
{dest: 'icon-72@2x.png', width: 144, height: 144},
{dest: 'icon-50.png', width: 50, height: 50},
{dest: 'icon-50@2x.png', width: 100, height: 100},
- {dest: 'icon-83.5@2x.png', width: 167, height: 167}
+ {dest: 'icon-83.5@2x.png', width: 167, height: 167},
+ {dest: 'icon-1024.png', width: 1024, height: 1024}
];
var pathMap = {};
--
To stop receiving notification emails like this one, please contact
"commits@cordova.apache.org" <co...@cordova.apache.org>.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org