Meteor モバイルアプリのアイコンを変更する
Meteor モバイルアプリのアイコンを変更するには、Meteor プロジェクトディレクトリ直下の mobile-config.js ファイルに以下の記述を追加します。
アイコンのパスは Meteor プロジェクトディレクトリからの相対パスになります。
mobile-config.js
App.icons({
// iOS
'iphone' : 'resources/icons/app_icon-60x60.png',
'iphone_2x': 'resources/icons/app_icon-60x60@2x.png', // 120x120
'iphone_3x': 'resources/icons/app_icon-60x60@3x.png', // 180x180
'ipad' : 'resources/icons/app_icon-76x76.png',
'ipad_2x' : 'resources/icons/app_icon-76x76@2x.png', // 152x152
// Android
'android_ldpi' : 'resources/icons/app_icon-36x36.png',
'android_mdpi' : 'resources/icons/app_icon-48x48.png',
'android_hdpi' : 'resources/icons/app_icon-72x72.png',
'android_xhdpi': 'resources/icons/app_icon-96x96.png'
});
簡単ですね。
なお、mobile-config.js は自動生成されないので、無ければ手動で作成してください。
参考
- Mobile Config File - Metoer Documentation
http://docs.meteor.com/#/full/mobileconfigjs - App Icons - Meteor Documentation
http://docs.meteor.com/#/full/App-icons