Skip to content

Commit b8835c6

Browse files
DirtyHairyshazron
authored andcommitted
CB-13191: (ios) Support marketing icon (#337)
1 parent a20aedd commit b8835c6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
"filename" : "icon-83.5@2x.png",
121121
"scale" : "2x"
122122
},
123+
{
124+
"size" : "1024x1024",
125+
"idiom" : "ios-marketing",
126+
"filename" : "icon-1024.png",
127+
"scale" : "1x"
128+
},
123129
{
124130
"size" : "24x24",
125131
"idiom" : "watch",

bin/templates/scripts/cordova/lib/prepare.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ function mapIconResources (icons, iconsDir) {
328328
{dest: 'icon-72@2x.png', width: 144, height: 144},
329329
{dest: 'icon-50.png', width: 50, height: 50},
330330
{dest: 'icon-50@2x.png', width: 100, height: 100},
331-
{dest: 'icon-83.5@2x.png', width: 167, height: 167}
331+
{dest: 'icon-83.5@2x.png', width: 167, height: 167},
332+
{dest: 'icon-1024.png', width: 1024, height: 1024}
332333
];
333334

334335
var pathMap = {};

0 commit comments

Comments
 (0)