csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
372 stars 231 forks source link

Version 7.0.0 is incompatible with firebase_core #551

Closed PetrKubes97 closed 3 days ago

PetrKubes97 commented 3 weeks ago

Incompatible package: https://pub.dev/packages/firebase_core/install

Because firebase_core_web 2.17.5 depends on web ^0.5.1 and no versions of firebase_core_web match >2.17.5 <3.0.0, firebase_core_web ^2.17.5 requires web ^0.5.1. And because speech_to_text >=7.0.0-beta.2 depends on web ^1.0.0, speech_to_text >=7.0.0-beta.2 is incompatible with firebase_core_web ^2.17.5. And because firebase_core 3.4.0 depends on firebase_core_web ^2.17.5 and no versions of firebase_core match >3.4.0 <4.0.0, speech_to_text >=7.0.0-beta.2 is incompatible with firebase_core ^3.4.0. So, because **** depends on both firebase_core ^3.4.0 and speech_to_text ^7.0.0, version solving failed.

sowens-csd commented 1 week ago

You can use a dependency override to get around that issue until firebase catches up. Or stick with the older version of STT.