itinance/react-native-sha256

Undefined evaluating sha256Lib.sha256

artnicbr opened this issue · 3 comments

I just installed the lib with yarn and linked. When I try to use it this error message is displayed in a red screen on Expo.
undefined is not and object (evaluating 'sha256Lib.sha')
sha256
sha256.js:12:19

Am I missing something?
Thank you!

I am not that Expo-expert but as far as i know, native custom libraries are not supported in expo.
Please turn back here if i am wrong.

any solution for this?

I think there's no solution apart from creating your app with react-native instead of expo.. I'm facing the same problem.. as far as I know we cant link to native libs with expo.. am I right?