Comments (12)
Same here. Android works like expected. iOS returns {username: null, password: "1"}
whenever I call resetGenericPassword
. No solution so far from my side.
from react-native-keychain.
Having the same issue, though it only happens on the initial install, if I resetGenericPassword it does not happen again. Still confirming but it appears our issue started after adding the firebase sdk (with https://github.com/evollu/react-native-fcm).
from react-native-keychain.
from react-native-keychain.
That's very odd, can you try specifying service and see if the issue persists?
from react-native-keychain.
Also happens for me when specifying a custom service.
from react-native-keychain.
I also get it with a specified service.
from react-native-keychain.
Steps to reproduce
- Install on a new simulator and you will hit this issue.
- If you call resetGenericPassword on the same simulator, it will return the expected "false"
Please fix it. :D
from react-native-keychain.
Make sure you getGenericPassword with the same key with when you set it
Keychain.setGenericPassword('<serviceKey>','<serviceValue>');
--> Keychain.getGenericPassword('<serviceKey>');
Without serviceKey
, Keychain will use app's bundleID as a service name which leads to an unexpected result.
from react-native-keychain.
Issue still exists in v3.1.3
After resetGenericPassword()
getGenericPassword() returns
Object {service: "my.package.name", username: null, password: "1"}
from react-native-keychain.
My app also stated to behave that way recently
from react-native-keychain.
any news on this?
from react-native-keychain.
hello folks, this issue is pretty old, it's not clear with what version this happens with and there are no specific steps to reproduce.
If you're experiencing the issue, try to create a runnable reproduction of it and open a new issue, or if the issue is device dependent or is hard to reproduce in some other way, please consider contributing a fix for it yourself. thanks!
from react-native-keychain.
Related Issues (20)
- 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
- Is not possible to have multiple accessControl for different usernames.
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.