Android: undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions')
See original GitHub issueI followed the instruction to automatically link my dependencies and double checked via the manual step and everything seems to check out:
- android/settings.gradle √
- android/app/build.gradle √
- MainApplication.java √
When I try to call getGenericPassword on android I get the above error. It works fine on iOS.
Looking at past issue pointing to similar issue, it was suggested to double check that module was correctly installed. So i ran
npm uninstall react-native-keychain
npm install react-native-keychain
But that did not solve the issue. Let me know what i can add here to help figure it out, i’m new at android /react native dev
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
react native - TypeError: null is not an object (evaluating ...
hasOwnProperty.call(dataMemory, key) ? dataMemory[key] : undefined } static removeItem(key) { Keychain.resetGenericPassword() return delete ...
Read more >[Solved]-TypeError: null is not an object (evaluating ...
Coding example for the question TypeError: null is not an object (evaluating 'RNKeychainManager.SECURITY_LEVEL_ANY')-React Native.
Read more >react-native-keychain - npm
SECURITY_LEVEL enum (Android only); Keychain. ... RNKeychainManager: no keychain entry found for service: JNI DETECTED ERROR IN APPLICATION: ...
Read more >react-native-keychain - Bountysource
Wrapped error: User not authenticated on Android with TouchId and FaceId available $ 0 ... null is not an object (evaluating 'RNKeychainManager.
Read more >null is not an object evaluating RNFS | Urdu & Hindi | Lecture # 9
In the video you will learn to fix the Error in React-Rative, Native module cannot be null or null is not an object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the issue. React Native Navigation required to change the content of MainApplication.java and apparently I screwed that up causing getPackages to not get called.
Closing
What was the problem with react native navigation? I’m having the same issue