NativeScript / NativeScript/nativescript-cli
tns resources generate makes some of the new generated resources with different dimensions
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái tạo các lệnh tns resources generate được liệt kê cho biểu tượng và màn hình splash, sau đó so sánh các tệp được tạo trong App_Resources/Android và App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage với các tài nguyên mặc định. Công việc được coi là hoàn tất khi các hình ảnh được tạo được liệt kê có kích thước khớp với mong đợi trên cả hai nền tảng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, ios, javascript
- Lĩnh vực
- cli, mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100