NativeScript / NativeScript/nativescript-cli
tns resources generate makes some of the new generated resources with different dimensions
未關閉
還沒有人認領這個 Issue。
bug
resources generation
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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