juliansteenbakker/flutter_secure_storage

Update js

Opened this issue · 1 comments

Try pub get for this dep:

flutter_secure_storage: ^9.2.2
flutter_sound: ^9.16.3

Because no versions of flutter_secure_storage match >9.2.2 <10.0.0 and flutter_secure_storage 9.2.2 depends on flutter_secure_storage_web ^1.2.1, flutter_secure_storage ^9.2.2 requires flutter_secure_storage_web ^1.2.1.
And because no versions of flutter_secure_storage_web match >1.2.1 <2.0.0 and flutter_secure_storage_web 1.2.1 depends on js ^0.6.3, flutter_secure_storage ^9.2.2 requires js ^0.6.3.
And because flutter_sound >=9.16.3 depends on flutter_sound_web 9.16.3 which depends on js ^0.7.1, flutter_secure_storage ^9.2.2 is incompatible with flutter_sound >=9.16.3.
So, because iepes_app depends on both flutter_sound ^9.16.3 and flutter_secure_storage ^9.2.2, version solving failed.

You can try one of the following suggestions to make the pubspec resolve:

  • Consider downgrading your constraint on flutter_secure_storage: flutter pub add flutter_secure_storage:^4.2.1
  • Consider downgrading your constraint on flutter_sound: flutter pub add flutter_sound:^9.6.0

I found that there is a develop branch which updated the requirements for the web version but it is not published yet.

There are so many other packages blocked by this, in my example its powersync v1.9.X

That's why I forked it and changed the versions temporary until they update the package.

Here is how I am currently doing

  # flutter_secure_storage: ^9.2.2
  flutter_secure_storage:
    git:
        url: https://github.com/selimb86/flutter_secure_storage.git
        path: flutter_secure_storage
        ref: develop