Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kunalkumar007 opened this issue Jul 14, 2022 · 4 comments
Open

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

kunalkumar007 opened this issue Jul 14, 2022 · 4 comments

Comments

@kunalkumar007
Copy link

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]
@ghbutton
Copy link
Owner

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

@recepaltas
Copy link

Same. Any Solution? I did pod install

@ghbutton
Copy link
Owner

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
Copy link
Owner

What platforms are you testing on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants