question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions')

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
otuswebcommented, Mar 14, 2018

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

0reactions
VityaSchelcommented, Aug 31, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found