Skip to content

tns resources generate makes some of the new generated resources with different dimensions  #3509

Open
@Natalia-Hristova

Description

@Natalia-Hristova

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.

  1. Create app
  2. Run tns resources generate icons <Path to image> and tns 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions