react-native-vector-image icon indicating copy to clipboard operation
react-native-vector-image copied to clipboard

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

Open muraziz opened this issue 1 year ago • 3 comments

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

muraziz avatar Aug 15 '22 19:08 muraziz

same +1

baronha avatar Oct 20 '22 08:10 baronha

Same +1

LinhLM23496 avatar Oct 20 '22 08:10 LinhLM23496

Same +1

marcag3 avatar Mar 13 '23 14:03 marcag3