csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v6.6.1 incompatibility with firebase_messaging >=14.7.17

Abhijit-Revamp opened this issue · comments

Add speech_to_text: ^6.6.0 to pubspec.yaml and it complains following

Resolving dependencies...
Because firebase_messaging_web 3.6.6 depends on js ^0.6.3 and no versions of firebase_messaging_web match >3.6.6 <4.0.0, firebase_messaging_web ^3.6.6 requires js ^0.6.3.
And because speech_to_text >=6.6.1 depends on js ^0.7.1, speech_to_text >=6.6.1 is incompatible with firebase_messaging_web ^3.6.6.
And because firebase_messaging 14.7.17 depends on firebase_messaging_web ^3.6.6 and no versions of firebase_messaging match >14.7.17 <15.0.0, speech_to_text >=6.6.1 is incompatible with firebase_messaging ^14.7.17.
So, because voice_too_doo depends on both firebase_messaging ^14.7.17 and speech_to_text ^6.6.1, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on speech_to_text: flutter pub add speech_to_text:^6.6.0

Try adding this until firebase_messaging_web upgrades.

dependency_overrides:
  js: ">=0.7.1"