Comments (2)
Hi @martinkasa,
You made me check the whole flow again and I found the issue. Thanks for rubber ducking 😄
from capacitor-secure-storage-plugin.
Hi @eric-boot, version 0.5.1 is compatible with Capacitor v2. Up to 0.7.1 it is compatible with Capacitor v3 and more recent version are for Capacitor v4. I can see that you tried to use version 0.5.1 of the plugin with Capacitor v4. Honestly I did not try how it behaves, but since it is not compatible with each other, (now I am just guessing) probably your digitCode was stored in web localstorage, not encrypted properly and then by upgrading the plugin to the version compatible with Capacitor v4, it tries to read it from native secure storage, but it is not there.
Try to check localstorage of webview, or call getPlatform() method to be sure if native implementation is used, or just unsecure web fallback.
from capacitor-secure-storage-plugin.
Related Issues (20)
- `remove` method throwing error in ios when key not found HOT 1
- Cannot access secure storage on iOS when device is locked with passcode
- Delete the app doesn't remove the storage on the iOS app: Latest iOS 15+ HOT 1
- Android SecureStorage.set can not handle null values HOT 1
- Can we get a new NPM release? HOT 1
- Please add the ability to specify the serviceName HOT 1
- Question: new key generation HOT 1
- CocoaPods Install Error - Is ARM64/M1 Supported HOT 3
- Storage.set() throws an error on 0.6.4 and 0.7.0 on iOS HOT 9
- Android 11 issue
- React hooks
- Capacitor V4 compatibility HOT 2
- `clear()` throws error on iOS if secure storage is empty HOT 2
- After Reinstalling the app storage is available. HOT 4
- No available storage method found HOT 4
- Saving not working on TestFlight
- SwiftKeychainWrapper deprecated HOT 1
- Capacitor 5 compatibility HOT 2
- Do we need to declare compliance on Apple Store? HOT 1
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 capacitor-secure-storage-plugin.