Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29628

React Native: RNFS.hash() is giving different result for ios and android

$
0
0

Hi Fellow Developers,

I am facing one problem from a couple of days related to the md5 generation for ios and android. In Android, I am getting the expected result when I tried with an online site to convert Image to MD5 but in ios, md5 is generating differently. I am using React Native Image Picker to access the uri of the image

Image Picker ResponseImage Picker Json Response

I am using .uri property to check for the md5 because I think you cannot directly access the image through assets-library.

Using RNFS Library to generate md5:- RNFS

any kind of help would be appreciated.


Viewing all articles
Browse latest Browse all 29628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>