Comments (9)
Hi I had the same issue after upgrading to flutter 3.19.6 the app would work fine in debug/release, but as soon as I signed it for notorization the app would stop working.
After upgrading to v9.2.2 and adding this to my Release.entitlements it seems to work again.
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)*</string>
</array>
from flutter_secure_storage.
Hi @jdk-21,
Very interesting and good to know there are even more issues with macOS. I am curious though, how on earth did you get it this package to work at all on macOS?
Even just in debug mode with self signed dev builds? I cannot get it to read the data when app starts. If keep running same app, reset all reads and then try to read, the securely stored data is there and read nicely, but if I build it again or even just hot-restart the app, the data previously stored is not there. Like starting from an empty file every time.
Link with more info #532 (comment)
Any insights you might have on getting it to work at all with macOS would be welcome 😄
EDIT: Got it working now! (The link above has the details)
from flutter_secure_storage.
Ok, great. I basically followed the instructions in the Readme.
Does it work for you with Hardened Runtime enabled after Notarization?
from flutter_secure_storage.
@jdk-21 did you manage to make it working?
from flutter_secure_storage.
I couldn't get it to work yet.
from flutter_secure_storage.
@jdk-21 it could be related to keychain accessibility.
What sort of restrictiveness have you set up in production?
You might want to check if it works with v9.2.2, now that #718 and #719 have been merged.
from flutter_secure_storage.
After upgrading to v9.2.2 and adding this to my Release.entitlements it seems to work again.
Cool 😎
from flutter_secure_storage.
@techouse I updated to 9.2.2 and tried the example app. In debug everything works fine like before, but after signing and notarizing the app stops working again.
from flutter_secure_storage.
Maybe check what the output of codesign -d --entitlements - YourApp.app
is before and after signing the .app
from flutter_secure_storage.
Related Issues (20)
- The specified item could not be found in the keychain HOT 49
- Message: The specified item already exists in the keychain, IOS HOT 24
- StorageCipher initialization failed cause by AndroidKeyStore not found HOT 2
- [bug] Race condition on `write` and `read`. HOT 2
- `deleteAll` not working on iOS HOT 3
- A problem occurred configuring project ':flutter_secure_storage'. HOT 1
- [Web] Encryption of saved value by app-specific key
- PlatformException: Code: -25308. Help me! HOT 11
- requires js ^0.6.3 depends on js ^0.7.1 HOT 6
- Beware the androidx.security:security-crypto is deprecated
- [WEB] Wasm support HOT 2
- onCupertinoProtectedDataAvailabilityChanged listener is not returning any value(true or false) even when isCupertinoProtectedDataAvailable is true HOT 6
- > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. HOT 2
- InfoSec Documentation for Windows is missing
- Question about files on Windows platform
- Getting values in separate isolate fails - Code: -25308, Message: User interaction is not allowed HOT 7
- Reading a specific key or using read all returns a null from the store HOT 1
- Running on web fails when _selectOptions are called
- Recording with encrypted data
- Linux read always empty
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 flutter_secure_storage.