-
Notifications
You must be signed in to change notification settings - Fork 383
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
Migrate to win32 5.5.4 #780
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,9 +246,7 @@ class DpapiJsonFileMapStorage extends MapStorage { | |
|
||
if (plainTextBlob.ref.pbData.address == NULL) { | ||
throw WindowsException( | ||
// TODO: New member requires win32 ^5.4.0 | ||
// ignore: deprecated_member_use | ||
ERROR_OUTOFMEMORY, | ||
WIN32_ERROR.ERROR_OUTOFMEMORY, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These TODO's can now be addressed. |
||
message: 'Failure on CryptUnprotectData()', | ||
); | ||
} | ||
|
@@ -350,9 +348,7 @@ class DpapiJsonFileMapStorage extends MapStorage { | |
|
||
if (encryptedTextBlob.ref.pbData.address == NULL) { | ||
throw WindowsException( | ||
// TODO: New member requires win32 ^5.4.0 | ||
// ignore: deprecated_member_use | ||
ERROR_OUTOFMEMORY, | ||
WIN32_ERROR.ERROR_OUTOFMEMORY, | ||
message: 'Failure on CryptProtectData()', | ||
); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ repository: https://github.com/mogol/flutter_secure_storage | |
version: 3.1.2 | ||
|
||
environment: | ||
sdk: '>=2.12.0 <4.0.0' | ||
flutter: ">=2.0.0" | ||
sdk: '>=3.4.0 <4.0.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the last two Flutter releases (3.22.0 and 3.24.0) are way ahead of the current version range, I opted into updating it here, to match the Dart 3.4.0 requirement for win32. |
||
flutter: '>=3.22.0' | ||
|
||
dependencies: | ||
ffi: ^2.0.0 | ||
|
@@ -14,7 +14,7 @@ dependencies: | |
flutter_secure_storage_platform_interface: ^1.1.0 | ||
path: ^1.8.0 | ||
path_provider: ^2.0.0 | ||
win32: ^5.0.0 | ||
win32: ^5.5.4 | ||
|
||
dev_dependencies: | ||
flutter_test: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This aligns the windows example with the windows implementation.