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

Cannot read property 'set' of null #114

Open
ChristopherDcosta opened this issue Dec 6, 2022 · 2 comments
Open

Cannot read property 'set' of null #114

ChristopherDcosta opened this issue Dec 6, 2022 · 2 comments

Comments

@ChristopherDcosta
Copy link

When I'm trying to set the key as documented then the error cannot read property 'set' of null occurs. Please help

@aaroncornelissen
Copy link

aaroncornelissen commented Apr 3, 2023

@ChristopherDcosta I have this problem as well.

RNSecureKeyStore is null when i'm running my app on a iOS device.
I am using version 2.0.9 because of issue #118.

I figured out that the react-native-secure-key-store pod is missing after pod update. It seems that version 2.0.9 for IOS doesn't installs the pod anymore. In version 2.0.10 the pod installs and then I don't have the problem.

Now I'm forced to release my app version 2.0.9 for Android and 2.0.10 for iOS.

@Noitham
Copy link

Noitham commented Aug 9, 2023

Another way to overcome this issue other than updating to 2.0.10 (which then breaks Android), is to add the Pod manually on the Podfile:

...
pod 'RNSecureKeyStore', path: '../node_modules/react-native-secure-key-store/ios'
... 

This should do the workaround 👍

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