react-native-simple-crypto
react-native-simple-crypto copied to clipboard
ERROR [TypeError: Cannot read property 'shaUtf8' of null]
I have just installed the package and used the sha512 package.
I have also linked the library and i am on.a mac M1 Chip
const sha512Hash = await RNSimpleCrypto.SHA.sha512('test')
and this error poped up.
ERROR [TypeError: Cannot read property 'shaUtf8' of null]
Hmm, I dont know why that would be an issue. Did you also do a pod install
in the ios directory?
Same. Any Solution? I did pod install
Ok, will try to reproduce again, I do have this is the repository I am using for testing: https://github.com/ghbutton/react-native-simple-crypto-test-2
What platforms are you testing on?