GithubHelp home page GithubHelp logo

Comments (9)

werner-scholtz avatar werner-scholtz commented on August 12, 2024 2

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.

rydmike avatar rydmike commented on August 12, 2024

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.

jdk-21 avatar jdk-21 commented on August 12, 2024

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.

AndreiMisiukevich avatar AndreiMisiukevich commented on August 12, 2024

@jdk-21 did you manage to make it working?

from flutter_secure_storage.

jdk-21 avatar jdk-21 commented on August 12, 2024

I couldn't get it to work yet.

from flutter_secure_storage.

techouse avatar techouse commented on August 12, 2024

@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.

techouse avatar techouse commented on August 12, 2024

After upgrading to v9.2.2 and adding this to my Release.entitlements it seems to work again.

Cool 😎

from flutter_secure_storage.

jdk-21 avatar jdk-21 commented on August 12, 2024

@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.

werner-scholtz avatar werner-scholtz commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.