Comments (1)
This is expected behaviour, when data is stored into the iOS Keychain, it's retained forever until you manually erase it. If you really, really need to erase your keychain data on a development device, you can do it by adding this to the top of AppDelegate.m
:
NSArray *secItemClasses = @[(__bridge id)kSecClassGenericPassword,
(__bridge id)kSecClassInternetPassword,
(__bridge id)kSecClassCertificate,
(__bridge id)kSecClassKey,
(__bridge id)kSecClassIdentity];
for (id secItemClass in secItemClasses) {
NSDictionary *spec = @{(__bridge id)kSecClass: secItemClass};
SecItemDelete((__bridge CFDictionaryRef)spec);
}
Now every time the app is launched, the keychain data is reset. If it's not a developer device, the only other way to reset the keychain data is to reset the phone to factory settings. I'm not sure if there's anyway to determine if it's possible to do a wipe of the keychain data during the app uninstallation, but that's a question for iOS developers/ Apple.
from redux-persist-sensitive-storage.
Related Issues (20)
- Add an example of multiple storage usage HOT 1
- react-native-sensitive-info Android Keystore Fake News HOT 1
- Error storing data TypeError: Cannot read property 'setItem' of undefined HOT 1
- Improve ES6 compatibility
- README Note about android react-native-sensistive-info incompatibility incorrect HOT 2
- Losing Data on IOs HOT 2
- Why not use the secure branch? HOT 2
- Android Release fails HOT 2
- _reactNativeSensitiveInfo.default.setItem is not a function HOT 5
- How to verify it is working? HOT 1
- Hydration doesn't always hydrate properly. HOT 5
- How to use this with android keystore?
- Key values clarification HOT 1
- Migrate pre-existing storage on first use HOT 5
- Clarification on authentication HOT 2
- Update react-native-sensitive-info to v6 HOT 3
- Will secure storage be created if configuration option is NOT passed?
- Does it work with react-native-sensitive-info v6? HOT 2
- 'TypeError: (0 , _reduxPersistSensitiveStorage.default) is not a function' while running test cases
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 redux-persist-sensitive-storage.