Skip to content

[amplify_secure_storage_dart] Update win32 dependency to ^6.0.0 #6873

@adamtester

Description

@adamtester

Description

amplify_secure_storage_dart (v0.5.10) depends on win32 ^5.14.0. This prevents any Flutter project using Amplify from upgrading to newer versions of popular packages that now require win32 ^6.0.0, including:

  • package_info_plus >= 10.0.0
  • share_plus >= 13.0.0

Steps to reproduce

Add both amplify_flutter and package_info_plus ^10.0.0 to pubspec.yaml:

dependencies:                                                       
  amplify_flutter: ^2.10.0
  package_info_plus: ^10.0.0                                                                                                                                                                                                                   

Run flutter pub get:

Because package_info_plus >=10.0.0 depends on win32 ^6.0.0
  and amplify_secure_storage_dart >=0.5.7 depends on win32 ^5.14.0,                                                                                                                                                                            
  package_info_plus >=10.0.0 is incompatible with amplify_flutter >=2.6.5.                                                                                                                                                                     

Expected behavior

amplify_secure_storage_dart should support win32 ^6.0.0 so projects can use the latest versions of other first-party Flutter packages.

Environment

  • Flutter 3.41.6 / Dart 3.11.4
  • amplify_flutter 2.10.0
  • amplify_secure_storage_dart 0.5.10

This is the same pattern as previously filed in #5255 and #6349 for package_info_plus version bumps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildIssues related to building apps using Amplify flutterSecure StorageIssues related to the secure_storage packagequestionA question about the Amplify Flutter libraries

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions