NativeScript / NativeScript/nativescript-cli
tns resources generate makes some of the new generated resources with different dimensions
オープン
まだ誰も着手していません。
bug
resources generation
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Please, provide the details below:
Tell us about the problem
After running tns resources generate icons/splaseh and comparing the "old" and "new" icons, logos etc. note that there are differences in some images dimensions'
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
- CLI:
4.0.0-2018-03-29-11322
Please tell us how to recreate the issue in as much detail as possible.
- Create app
- Run
tns resources generate icons <Path to image>andtns resources generate splashes <Path to image> -- background
Here's a list with the resources with different width and height from the default resources:
../App_Resources/Android/drawable-hdpi/logo.png../App_Resources/Android/drawable-ldpi/logo.png../App_Resources/Android/drawable-mdpi/logo.png../App_Resources/Android/drawable-xhdpi/logo.png../App_Resources/Android/drawable-xxhdpi/logo.png../App_Resources/Android/drawable-xxhdpi/background.png../App_Resources/Android/drawable-xxxhdpi/logo.png../App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png../App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、アイコンとスプラッシュ用に記載されている tns resources generate コマンドを再現して実行し、生成された App_Resources/Android および App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage 配下のファイルをデフォルトのリソースと比較します。両方のプラットフォームで、記載された生成画像が期待される一致した寸法になっていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, ios, javascript
- 領域
- cli, mobile-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100