LoginSignup
2
2

More than 5 years have passed since last update.

Meteor モバイルアプリ(iOS/Android)のアイコンを変更する方法

Last updated at Posted at 2015-05-05

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 は自動生成されないので、無ければ手動で作成してください。

参考

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2