flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

build fails completely, upgrade js package to (js ^0.7.1)

Open ziyadmansy opened this issue 1 year ago • 3 comments

Because flutter_secure_storage_web 1.2.1 depends on js ^0.6.3 and no versions of flutter_secure_storage_web match >1.2.1 <2.0.0, flutter_secure_storage_web ^1.2.1 requires js ^0.6.3. And because flutter_branch_sdk >=7.2.0 depends on js ^0.7.1, flutter_branch_sdk >=7.2.0 is incompatible with flutter_secure_storage_web ^1.2.1. And because flutter_secure_storage 9.2.2 depends on flutter_secure_storage_web ^1.2.1 and no versions of flutter_secure_storage match >9.2.2 <10.0.0, flutter_branch_sdk >=7.2.0 is incompatible with flutter_secure_storage ^9.2.2. So, because neo depends on both flutter_secure_storage ^9.2.2 and flutter_branch_sdk ^8.1.1, version solving failed.

ziyadmansy avatar Aug 29 '24 17:08 ziyadmansy

Add this to your pubspec.yaml

dependency_overrides:
  js: ^0.7.1

techouse avatar Sep 10 '24 16:09 techouse

js: ^0.7.1

thank you very much.

SzymonDziak avatar Sep 17 '24 21:09 SzymonDziak

are there any plans to update deps resolution to something like `js: '>=0.6.3 <1.0.0'?

TatsuUkraine avatar Sep 30 '24 09:09 TatsuUkraine

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

github-actions[bot] avatar Nov 30 '24 02:11 github-actions[bot]

Hi all, i've tried `js: '>=0.6.3 <1.0.0', but it seems that web part is broken with js 0.7.0 or greater. I would rather suggest using the new WASM version using

dependency_overrides:
  flutter_secure_storage_web: ^2.0.0-beta.2

juliansteenbakker avatar Jan 04 '25 10:01 juliansteenbakker