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
.
meteor add cordova:[email protected]
Meteor 1.4.4.4 without this plugin:
Meteor 1.4.4.4 with this plugin:
Meteor 1.5.2.2 without this plugin, with all iOS icons specified:
Meteor 1.5.2.2 with this plugin (with all iOS icons specified - some get removed):
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.