Have ideas to improve npm?Join in the discussion! »

    meteor-ios-icon-fix

    1.0.0 • Public • Published

    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_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,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.

    Install

    npm i meteor-ios-icon-fix

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar