jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.39k stars 1.63k forks source link

firebase_messaging_web issues : et >=5.0.0-release-candidate-8 depends on web ^1.0.0, get >=5.0.0-release-candidate-8 is incompatible with firebase_messaging_web ^3.8.12. #3176

Closed fisforfaheem closed 2 months ago

fisforfaheem commented 3 months ago

Because firebase_messaging_web 3.8.12 depends on web ^0.5.1 and no versions of firebase_messaging_web match >3.8.12 <4.0.0, firebase_messaging_web ^3.8.12 requires web ^0.5.1. And because get >=5.0.0-release-candidate-8 depends on web ^1.0.0, get >=5.0.0-release-candidate-8 is incompatible with firebase_messaging_web ^3.8.12. And because firebase_messaging 15.0.4 depends on firebase_messaging_web ^3.8.12 and no versions of firebase_messaging match >15.0.4 <16.0.0, get >=5.0.0-release-candidate-8 is incompatible with firebase_messaging ^15.0.4. So, because infrom_link_app depends on both firebase_messaging ^15.0.4 and get ^5.0.0-release-candidate-8, version solving failed. exit code 1

inyong1 commented 3 months ago

Its seem because firebase_messaging_web stil use old version of web (0.5.1) Maybe we have to wait for updates of the firebase_messaging.

fisforfaheem commented 3 months ago

Any other solution? may use "any" as version instead of fixed...but that still gives errors.

On Fri, Aug 16, 2024 at 3:46 AM Supriyadi @.***> wrote:

Its seem because firebase_messaging_web stil use old version of web (0.5.1)Maybe we have to wait updates for the firebase_messaging.

— Reply to this email directly, view it on GitHub https://github.com/jonataslaw/getx/issues/3176#issuecomment-2292413979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSEJI5VEMGIGYSTMV4DZRUVTDAVCNFSM6AAAAABMSQVRRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJSGQYTGOJXHE . You are receiving this because you authored the thread.Message ID: @.***>

jonataslaw commented 3 months ago

I believe you should open this issue in the repository https://github.com/firebase/flutterfire which is responsible for the package that uses outdated dependencies.

Also, as a temporary workaround, you can use dependency_overrides in pubspec:

https://dart.dev/tools/pub/dependencies#dependency-overrides

Example:

dependency_overrides:
  web: ^0.5.1

or

dependency_overrides:
  web: ^1.0.0
jonataslaw commented 3 months ago

Related: https://github.com/firebase/flutterfire/pull/13172