Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Check availability of protected data on iOS and macOS #629

Conversation

bierbaumtim
Copy link
Contributor

@bierbaumtim bierbaumtim commented Oct 7, 2023

As discussed in PR #602 this PR adds the bridge to isProtectedDataAvailable on macOS(12.0 and newer) and iOS. It also adds the possiblity to get notified when availability of the protected data will change. At the moment listening to applicationProtectedDataDidBecomeAvailable and applicationProtectedDataWillBecomeUnavailable is only possible on iOS. Support for macOS is currently blocked by PR flutter/engine#44587 not beeing in the current flutter stable version.
As soon as a new major stable version of flutter gets released we could add support for macOS.

Combined with PR #602 this fixes #524.

@bierbaumtim
Copy link
Contributor Author

Could fix #595, #614, #622, #532

Co-authored-by: Benjamin Kampmann <ben.kampmann@gmail.com>
@juliansteenbakker
Copy link
Collaborator

Looks good to me, thanks for your work!

@juliansteenbakker juliansteenbakker merged commit 4529019 into mogol:develop Oct 12, 2023
3 checks passed
@bogdannedelcu
Copy link

Is this available in the public package version 9.0.0?

@neiljaywarner
Copy link

@bogdannedelcu looks like it isn't right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.read() return null since iOS 16.3.X even with the correct KeychainAccessibility
5 participants