1.0.0 • Published 7 years ago

meteor-ios-icon-fix v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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:meteor-ios-icon-fix@1.0.0

Illustration

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):

Configuration

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

App.setPreference("ICONS_TO_REMOVE","icon-50.png,icon-50@2x.png,icon-72.png,icon-72@2x.png,icon.png,icon@2x.png,icon-1024.png,icon-small@3x.png"); // 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.