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

[flutter_secure_storage_windows] Migrate to win32 5.5.1 or higher #779

Open
navaronbracke opened this issue Aug 28, 2024 · 1 comment · May be fixed by #780
Open

[flutter_secure_storage_windows] Migrate to win32 5.5.1 or higher #779

navaronbracke opened this issue Aug 28, 2024 · 1 comment · May be fixed by #780
Labels

Comments

@navaronbracke
Copy link

When using flutter_secure_storage 9.2.2 (which depends on flutter_secure_storage_windows 3.1.2),
the version of flutter_secure_storage_windows requires a version of win32 that is not compatible with Dart 3.4.0 / Flutter 3.22.0
(and in effect also the latest stable, 3.5.0 / 3.24.0)

We should upgrade flutter_secure_storage_windows to that new win32 version.

The reason for this is that we get the following error, due to a change in Dart 3.4.0

../../../.pub-cache/hosted/pub.dev/win32-5.0.9/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
  final UnmodifiableUint8ListView bytes;
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/win32-5.0.9/lib/src/guid.dart:32:9: Error: 'UnmodifiableUint8ListView' isn't a type.
  final UnmodifiableUint8ListView bytes;
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/win32-5.0.9/lib/src/guid.dart:52:17: Error: Method not found: 'UnmodifiableUint8ListView'.
    return Guid(UnmodifiableUint8ListView(guid));
                ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/win32-5.0.9/lib/src/guid.dart:56:31: Error: Method not found: 'UnmodifiableUint8ListView'.
  factory Guid.zero() => Guid(UnmodifiableUint8ListView(Uint8List(16)));
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/win32-5.0.9/lib/src/guid.dart:100:17: Error: Method not found: 'UnmodifiableUint8ListView'.
    return Guid(UnmodifiableUint8ListView(Uint8List.fromList(guidAsBytes)));
                ^^^^^^^^^^^^^^^^^^^^^^^^^
@navaronbracke navaronbracke linked a pull request Aug 28, 2024 that will close this issue
Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant