Comments (5)
Ok, I updated the import method to match the new format like ;
import * as Keychain from 'react-native-keychain'
Now I'm faced with a new error
{ [TypeError: undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions')]
line: 103336,
column: 27,
sourceURL: 'http://localhost:8081/index.ios.bundle?platform=ios&dev=true&minify=false' }
from react-native-keychain.
Hey, it sounds like the library is no longer linked. Perhaps you ran react-native upgrade
and overwrote the xcodeproj
file? Try re-linking!
from react-native-keychain.
Closing due to inactivity.
from react-native-keychain.
I am facing the same error undefined is not an object (evaluating 'RNKeychainManager.getGenericPasswordForOptions')
where it is pointing to getGenericPassword
line 175 return RNKeychainManager.getGenericPasswordForOptions
.
here is the function where I call it
exports.createJob = (text) => { return function(dispatch) { return Keychain.getGenericPassword().then((credentials) => { var {username, password} = credentials; return axios.post(JOBS_URL(username), {text}, { headers: {authorization: password} }).then((response) => { dispatch(addJob(response.data.job)); }).catch((err) => { dispatch(addAlert("Couldn't create job.")); }) }) } }
from react-native-keychain.
@zoolle please make sure the module is linked. Follow manual instructions in the readme if necessary and do not link through cocoapods.
from react-native-keychain.
Related Issues (20)
- Encrypt and decrypt failing on latest Samsung OS HOT 11
- Warning when using SetGenericPassword with service HOT 2
- No podspec found for `RNKeychain`
- Fingerprint Bypass using Frida and Objection techniques HOT 1
- Using it together with native iOS project HOT 2
- Android crash from adding react-native-keychain package HOT 1
- Unrecognized platform name visionOS error HOT 8
- iOS & android keychain items are not erased when the app is uninstalled HOT 1
- Pods install failed with Invalid `RNKeychain.podspec` file: undefined method `visionos' for #<Pod::Specification name="RNKeychain" HOT 5
- App crash on launch - Only happens on Huawei devices
- Replace `SharedPreferences` with `DataStore` Preferences on Android HOT 2
- Cold start on android took 5-10 seconds longer than before the library update HOT 11
- Example project not building iOS HOT 3
- [RN-Android]: Not able to retrieve credentials from App B after storing credentials from App A. HOT 1
- Android build failed after upgrading to java 21
- Issue building app 8.1.2, 8.1.2 and 8.2.0 HOT 1
- Understanding the key store access life cycle.
- [Enhancement] Support for Passkey
- UI animation freezing when calling any `set` functions in Android HOT 1
- Does React Native Keychain use iOS Keychain and Android Keystore under the hood? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-keychain.