Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.83 KB

Readme.md

File metadata and controls

36 lines (23 loc) · 1.83 KB

Meteor iOS Icon Fix

A really simple little cordova plugin for meteor iOS apps that removes old cordova icons, which would otherwise result in App Store review rejection.

It also adds the 1024x1024 marketing icon, which meteor currently doesn't allow you to add via mobile-config.js.

Installation

meteor add cordova:[email protected]

Illustration

Meteor 1.4.4.4 without this plugin: meteor_1 4 4 4_noplugin

Meteor 1.4.4.4 with this plugin: meteor_1 4 4 4_withplugin

Meteor 1.5.2.2 without this plugin, with all iOS icons specified: meteor_1 5 2 2_noplugin

Meteor 1.5.2.2 with this plugin (with all iOS icons specified - some get removed): meteor_1 5 2 2_withplugin

Configuration

You can specify which icons to remove in your mobile-config.js file :

App.setPreference("ICONS_TO_REMOVE","icon-50.png,[email protected],icon-72.png,[email protected],icon.png,[email protected],icon-1024.png,[email protected]"); // this is the default.
App.setPreference("MARKETING_ICON_FILENAME","marketing_icon_1024x1024.png"); // this is the default.

You also need to add your iOS marketing icon in your meteor project in a cordova-build-override folder, with the filename of marketing_icon_1024x1024.png and size of 1024x1024 pixels.