React-native-keychain: [Android] undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions')

Created on 17 Feb 2017  路  4Comments  路  Source: oblador/react-native-keychain

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

Most helpful comment

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

All 4 comments

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

Closing due to lack of feedback.

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

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

Was this page helpful?
0 / 5 - 0 ratings