react-native-simple-crypto icon indicating copy to clipboard operation
react-native-simple-crypto copied to clipboard

ERROR [TypeError: Cannot read property 'shaUtf8' of null]

Open kunalkumar007 opened this issue 2 years ago • 4 comments

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]

kunalkumar007 avatar Jul 14 '22 06:07 kunalkumar007

Hmm, I dont know why that would be an issue. Did you also do a pod install in the ios directory?

ghbutton avatar Jul 19 '22 23:07 ghbutton

Same. Any Solution? I did pod install

recepaltas avatar Nov 11 '23 12:11 recepaltas

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

ghbutton avatar Nov 20 '23 19:11 ghbutton

What platforms are you testing on?

ghbutton avatar Nov 20 '23 19:11 ghbutton