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

[Android] undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions') #55

Closed
pdoggi opened this issue Feb 17, 2017 · 4 comments

Comments

@pdoggi
Copy link

pdoggi commented Feb 17, 2017

React Native Noob here.

In Android only, Keychain.getGenericPassword() causes undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions') at this location .

iOS works fine.

In the Android project, I checked manually that everything was linked properly. I am using the FBSDK and have added new FBSDKPackage(mCallbackManager) to getPackages() in MainApplication.java. new KeychainPackage() is added right after the FBSDK package. Prior to installing react-native-keychain, components from FBSDK displayed fine, but after installing and linking react-native-keychain, the components from FBSDK no longer render in Android (except for a red outline around the missing component). I don't know if it's related, but maybe it is.

Any help would be appreciated! Thanks.

Connie

@oblador
Copy link
Owner

oblador commented Apr 4, 2017

It sounds like your native dependencies are not correctly linked for some reason. Did you happen to also upgrade react native or something?

@oblador
Copy link
Owner

oblador commented Jan 8, 2018

Closing due to lack of feedback.

@oblador oblador closed this as completed Jan 8, 2018
@jaxatto
Copy link

jaxatto commented Jun 28, 2018

Having same issue/error message but with iOS! Any ideas?

@amit13091992
Copy link

amit13091992 commented Dec 14, 2020

Any luck with this issue???
Getting this issue on iOS platform.

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

4 participants