Earlybyte / aad_oauth

Flutter Azure Active Directory OAuth Package
https://pub.dev/packages/aad_oauth
MIT License
92 stars 179 forks source link

Bump JS version to 0.7.1 from 0.6.7 #315

Open Paradoxor opened 3 months ago

Paradoxor commented 3 months ago

Hello,

I'm using your package and it works super nice. But I have a dependency on other packages that I cant upgrade due to the JS version. Would it be possible that you bump the version to 0.7.1?

Thanks in advance,

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

palancana commented 4 weeks ago

Same issue here. Is there any plans for updating the dependency? Thank you!

loetsphi commented 1 week ago

Sadly its not possible to upgrade the js package to 0.7.1 due to the js version used by flutter_secure_storage, if you know a way to do it you can always submit a pull request. Otherwise we have to wait until flutter_secure_storage publishes a new version compatible with 0.7.1.

 flutter pub get
Resolving dependencies... 
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.
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.
Thus, flutter_secure_storage ^9.2.2 requires js ^0.6.3.
So, because aad_oauth depends on both flutter_secure_storage ^9.2.2 and js ^0.7.1, 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 js: flutter pub add js:^0.6.7