Skip to content

Fixes the issue where meteor doesn't include a marketing icon and copies old cordova icons for iOS 5 and 6

License

Notifications You must be signed in to change notification settings

AppWorkshop/meteor-ios-icon-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Fixes the issue where meteor doesn't include a marketing icon and copies old cordova icons for iOS 5 and 6

Resources

License

Stars

Watchers

Forks

Packages

No packages published