Skip to content

Generated Android/iOS images are different when generated from Mac vs. Windows #29

@muraziz

Description

@muraziz

Hi!
We are two developers, one working on Mac and the other on Windows using this library for our RN project. Whenever one of us generates images using yarn react-native-vector-image generate and then the other runs the command to regenerate the same files, it creates a diff with file renames for all image files. It seems like the hash code part of generated image file names is different depending on whether generated on Mac or Windows.

Regarding that I have two questions.

  1. Is this expected?
  2. Any plans to make hash same?

While we can still use the lib (thanks for it!), it creates a lot of unnecessary diff changes during commits.
Thanks!

Screen Shot 2022-08-15 at 20 05 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions